开发者

Rails - namespace setup in the config/routes?

开发者 https://www.devze.com 2023-01-30 13:46 出处:网络
in my routes file I have: get\"gettingstarted\" => \"pages#gettingstarted\" namespace :gettingstarted do

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

精彩评论

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

关注公众号