added after confirmation path
This commit is contained in:
parent
ea6909a6b0
commit
f4be776697
|
@ -0,0 +1,9 @@
|
||||||
|
class ConfirmationsController < Devise::ConfirmationsController
|
||||||
|
layout "devise"
|
||||||
|
|
||||||
|
private
|
||||||
|
|
||||||
|
def after_confirmation_path_for(resource_name, resource)
|
||||||
|
basic_infos_path
|
||||||
|
end
|
||||||
|
end
|
|
@ -1,8 +1,3 @@
|
||||||
class RegistrationsController < Devise::RegistrationsController
|
class RegistrationsController < Devise::RegistrationsController
|
||||||
layout "devise"
|
layout "devise"
|
||||||
protected
|
|
||||||
|
|
||||||
def after_sign_up_path_for(resource)
|
|
||||||
basic_infos_path
|
|
||||||
end
|
|
||||||
end
|
end
|
Reference in New Issue