How do I change layout in the devise controller?
You have to subclass the controller like in the following:
class SessionsController < Devise::SessionsController
layout 'my_layout'
end
And change the routes:
devise_for :users, :controllers => {:sessions => "sessions"}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With