Sha256: 5fcb65531511e6acb1e25a1464578e1d7c9510f97135063c2614715fdc181084
Contents?: true
Size: 1.53 KB
Versions: 2
Compression:
Stored size: 1.53 KB
Contents
Rails.application.routes.draw do scope "express_translate" do match "/" => "express_translate/options#index" match "/package/:packages" => "express_translate/options#languages" match "/language/:package/:id" => "express_translate/options#language_detail" get "/export" => "express_translate/files#export" post "/import" => "express_translate/files#import" get "/login" => "express_translate/account#login" post "/login" => "express_translate/account#login_check" # CODE 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' end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
express_translate-1.0 | config/routes.rb |
express_translate-1.0.0.0 | config/routes.rb |