1
0
Fork 0
discourse-custom-wizard-unl.../extensions/users_controller.rb
2020-09-16 23:35:07 +10:00

9 Zeilen
Kein EOL
236 B
Ruby

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
end