plataformatec/devise — Issue #1506: uninitialized constant Devise::RegisrationsController
Author: urjitrajgor
Created: 2011-12-12 14:37:39+00:00
State: open

I am not customize sessions or registration controller and using rails 3.0 successfully login and logout but having this error at signup so please help me.

error
----------
uninitialized constant Devise::RegisrationsController

my routes
----------------

devise_for :users, :controllers => {:sessions => 'devise/sessions', :registrations => 'devise/regisrations'} do
get "/login", :to => "devise/sessions#new", :as => :login
get "/signup", :to => "devise/regisrations#new", :as => :signup
get "/logout", :to => "devise/sessions#destroy", :as => :logout
end

match '/dashboard' => 'users#dashboard', :as => :dashboard

resources :users do
resources :articles
end
root :to => "home#index"

end

my rake routes
----------------------

login GET /login(.:format) {:controller=>"devise/sessions", :action=>"new"}
signup GET /signup(.:format) {:controller=>"devise/regisrations", :action=>"new"}
logout GET /logout(.:format) {:controller=>"devise/sessions", :action=>"destroy"}
new_user_session GET /users/sign_in(.:format) {:controller=>"devise/sessions", :action=>"new"}
user_session POST /users/sign_in(.:format) {:controller=>"devise/sessions", :action=>"create"}
destroy_user_session DELETE /users/sign_out(.:format) {:controller=>"devise/sessions", :action=>"destroy"}
user_password POST /users/password(.:format) {:controller=>"devise/passwords", :action=>"create"}
new_user_password GET /users/password/new(.:format) {:controller=>"devise/passwords", :action=>"new"}
edit_user_password GET /users/password/edit(.:format) {:controller=>"devise/passwords", :action=>"edit"}
PUT /users/password(.:format) {:controller=>"devise/passwords", :action=>"update"}
cancel_user_registration GET /users/cancel(.:format) {:controller=>"devise/regisrations", :action=>"cancel"}
user_registration POST /users(.:format) {:controller=>"devise/regisrations", :action=>"create"}
new_user_registration GET /users/sign_up(.:format) {:controller=>"devise/regisrations", :action=>"new"}
edit_user_registration GET /users/edit(.:format) {:controller=>"devise/regisrations", :action=>"edit"}
PUT /users(.:format) {:controller=>"devise/regisrations", :action=>"update"}
DELETE /users(.:format) {:controller=>"devise/regisrations", :action=>"destroy"}
dashboard /dashboard(.:format) {:controller=>"users", :action=>"dashboard"}
user_articles GET /users/:user_id/articles(.:format) {:controller=>"articles", :action=>"index"}
POST /users/:user_id/articles(.:format) {:controller=>"articles", :action=>"create"}
new_user_article GET /users/:user_id/articles/new(.:format) {:controller=>"articles", :action=>"new"}
edit_user_article GET /users/:user_id/articles/:id/edit(.:format) {:controller=>"articles", :action=>"edit"}
user_article GET /users/:user_id/articles/:id(.:format) {:controller=>"articles", :action=>"show"}
PUT /users/:user_id/articles/:id(.:format) {:controller=>"articles", :action=>"update"}
DELETE /users/:user_id/articles/:id(.:format) {:controller=>"articles", :action=>"destroy"}
users GET /users(.:format) {:controller=>"users", :action=>"index"}
POST /users(.:format) {:controller=>"users", :action=>"create"}
new_user GET /users/new(.:format) {:controller=>"users", :action=>"new"}
edit_user GET /users/:id/edit(.:format) {:controller=>"users", :action=>"edit"}
user GET /users/:id(.:format) {:controller=>"users", :action=>"show"}
PUT /users/:id(.:format) {:controller=>"users", :action=>"update"}
DELETE /users/:id(.:format) {:controller=>"users", :action=>"destroy"}
root /(.:format) {:controller=>"home", :action=>"index"}