trabajo-afectivo/config/routes/translation.rb

8 lines
186 B
Ruby
Raw Normal View History

module ExtraRoutes
def add(map)
map.resources :translations
map.match '/translations/lang/:locale', :to => 'translations#load', :via => :get
end
module_function :add
end