开发者

devise 1.4.7 does not generate routes

I have been using devise for sometime now. Suddenly, I have no ro开发者_如何转开发utes for devise controllers when I run 'rake routes'. What happened? Do I need to revert to an earlier version of devise? If so, how do I accomplish this?

routes.rb:

NbbApp::Application.routes.draw do
  resources :products
  resources :categories
  devise_for :users, :controllers => {:registrations => "users/registrations"} 
  root :to => "home#index"
end 


Have you tried?

bundle exec rake routes

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜