Sha256: 6c40c4ff6fc01a48ccc0070a43e4d0702efb94c4ecf372f24c2f15809792734a

Contents?: true

Size: 1.8 KB

Versions: 6

Compression:

Stored size: 1.8 KB

Contents

Rails.application.routes.draw do
  scope "express_translate" do  
    get "/" => "express_translate/options#index"
    get "/package/:packages" => "express_translate/options#languages"
    get "/language/:package/:id" => "express_translate/options#language_detail" 

    get "/export" => "express_translate/files#export"
    post "/import" => "express_translate/files#import"
    post "/import_yml" => "express_translate/files#import_yml"
    
    get "/login" => "express_translate/account#login"
    post "/login" => "express_translate/account#login_check"
    
    # TOOLS
    get "/reset/account" => "express_translate/account#reset"
    
    # CODE
    post "/ajax/code/load" => 'express_translate/ajax/codes#code_load'
    post "/ajax/code/add" => 'express_translate/ajax/codes#code_add'
    post "/ajax/code/update" => 'express_translate/ajax/codes#code_update'
    post "/ajax/code/delete" => 'express_translate/ajax/codes#code_delete'
    
    # LANGUAGE
    post "/ajax/language/add" => 'express_translate/ajax/languages#language_add'
    post "/ajax/language/update" => 'express_translate/ajax/languages#language_update'
    post "/ajax/language/delete" => 'express_translate/ajax/languages#language_delete'
    post "/ajax/language/set_origin" => 'express_translate/ajax/languages#language_set_origin'
    
    # PACKAGE
    post "/ajax/package/add" => 'express_translate/ajax/packages#package_add'
    post "/ajax/package/update" => 'express_translate/ajax/packages#package_update'
    post "/ajax/package/delete" => 'express_translate/ajax/packages#package_delete'
    
    # SERVICE
    get "/service/:packages/:language" => 'express_translate/services#service_language'
    get "/service/:package/" => 'express_translate/services#service_languages'
    get "/i18n/:packages" => 'express_translate/services#i18n_lang'
  end  
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
express_translate-1.0.13 config/routes.rb
express_translate-1.0.12 config/routes.rb
express_translate-1.0.11 config/routes.rb
express_translate-1.0.10 config/routes.rb
express_translate-1.0.9 config/routes.rb
express_translate-1.0.8 config/routes.rb