0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-11-08 19:38:00 +01:00
discourse-custom-wizard/lib/custom_wizard/extensions/users_controller.rb
2022-03-12 14:00:07 +01:00

10 Zeilen
267 B
Ruby

# frozen_string_literal: true
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