开发者

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?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜