I have two devise forms used in my Ruby on rails site...how can i set different route paths for both devise form..i tried to override the after_sign_up_path..but both the forms gets redirected to same path...
I want to set different paths for each form.
Registrations Controller
class Registrations Controller < Devise::Registrations Controller
protected
def after_sign_up_path_for(resource)
'root_path'
end
end