1
0
Fork 0
discourse-custom-wizard-unl.../extensions/users_controller.rb
2021-03-11 12:00:15 +05:30

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