1

[i have customize the devise gem controller in my application]

[error comes : uninitialized constant SessionsController] i also copies the view in to the separate section but still it comes

  • Here is the answer [Answer from StackOverflow](http://stackoverflow.com/questions/3546289/override-devise-registrations-controller) – Eugene Tkachenko Feb 24 '15 at 10:26

1 Answers1

0

in your routes.rb must be devise_for like this

devise_for :users, controllers: { registrations: 'users/registrations', sessions: 'users/sessions'}
Divyang Hirpara
  • 998
  • 4
  • 23