I would like to use a different template for login & logout for devise. Only problem is that the signup & edit account are in the same controller , registrations_controller:
class Users::RegistrationsController < Devise::RegistrationsController
include ApplicationHelper
def create
super
end
def new
super
end
def edit
super
end
end
So I can't just add my layout: layout "signup_layout"
to the controller because that would make also change the edit account template.
Is there a way to have two seperate controllers or decide the template a page uses in another file?
Thank you for your help.