Rails - namespace setup in the config/routes?
in my routes file I have:
get "gettingstarted" => "pages#gettingstarted"
namespace :gettingstarted do
resource :users, :only => [:edit, :update]
end
When i then load: /gettingstarted/users/edit
I get the error:
Routing Error
uninitialized constant Gett开发者_开发技巧ingstartedController
Have you defined GettingstartedController < ActionController class?
加载中,请稍侯......
精彩评论