Spiegel von
https://github.com/paviliondev/discourse-custom-wizard.git
synchronisiert 2024-11-30 04:30:29 +01:00
9 Zeilen
236 B
Ruby
9 Zeilen
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
|