0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-11-28 03:40:29 +01:00
discourse-custom-wizard/lib/custom_wizard/extensions/users_controller.rb

10 Zeilen
259 B
Ruby

2021-03-11 07:30:15 +01:00
# frozen_string_literal: true
module CustomWizardUsersController
def account_created
2024-10-16 13:52:03 +02:00
if current_user.present? && (wizard = CustomWizard::Wizard.after_signup(current_user))
return redirect_to "/w/#{wizard.id.dasherize}"
end
super
end
2021-03-11 07:30:15 +01:00
end