0

I'm using Devise2 and Rails3. I'd like to show a differently formatted sign-in view depending on the route (users/foo vs users/bar). I'm not sure where to hook in this behavior.

paleozogt
  • 6,393
  • 11
  • 51
  • 94

1 Answers1

0

Seems you have to create your own devise controller with 2 actions foo and bar. Look here for some inspiration Override devise registrations controller

Community
  • 1
  • 1
jtsagata
  • 2,263
  • 1
  • 13
  • 7