class Devise::RegistrationsController
def after_sign_up_path_for(resource)
The path used after sign up. You need to overwrite this method
def after_sign_up_path_for(resource) after_sign_in_path_for(resource) if is_navigational_format? end
def after_sign_up_path_for(resource) after_sign_in_path_for(resource) if is_navigational_format? end