2020-09-16 15:35:07 +02:00
|
|
|
module CustomWizardUsersController
|
|
|
|
def account_created
|
|
|
|
if current_user.present? &&
|
|
|
|
(wizard = CustomWizard::Wizard.after_signup(current_user))
|
|
|
|
return redirect_to "/w/#{wizard.id.dasherize}"
|
|
|
|
end
|
|
|
|
super
|
|
|
|
end
|
2021-02-24 08:50:42 +01:00
|
|
|
end
|