config/routes.rb in translation_handler-0.0.1 vs config/routes.rb in translation_handler-0.0.2
- old
+ new
@@ -1,5 +1,5 @@
Rails.application.routes.draw do
namespace :translation_handler do
- resources :translations
+ resources :translations, :constraints => { :id => /.*/ }
end
end