With Rails 3.2, I have the following in config / routes.rb
scope "/:locale" do
resource :users, :only => [:new, :create]
namespace :admin do
resources :specifications
end
end
Users route works, as expected, specification routes other than the index. When GET is called in "/ en / admin / specification", the following error is returned:
No route matches {:action=>"show", :controller=>"admin/specifications", :locale=>
What am I doing wrong?
source
share