Minor fixes
Dieser Commit ist enthalten in:
Ursprung
bb0f3dfb3e
Commit
bc5a504dfd
2 geänderte Dateien mit 6 neuen und 4 gelöschten Zeilen
|
@ -162,8 +162,8 @@ en:
|
|||
return_to_site: "Return to {{siteName}}"
|
||||
|
||||
wizard_composer:
|
||||
show_preview: "Preview Your Post"
|
||||
hide_preview: "Hide Preview"
|
||||
show_preview: "Preview Post"
|
||||
hide_preview: "Edit Post"
|
||||
quote_post_title: "Quote whole post"
|
||||
bold_label: "B"
|
||||
bold_title: "Strong"
|
||||
|
|
|
@ -86,11 +86,13 @@ after_initialize do
|
|||
module InvitesControllerCustomWizard
|
||||
def path(url)
|
||||
if Wizard.user_requires_completion?(@user)
|
||||
wizard_path = $redis.get('custom_wizard_redirect')
|
||||
wizard_id = $redis.get('custom_wizard_redirect')
|
||||
|
||||
unless url === '/'
|
||||
CustomWizard::Wizard.set_redirect(@user, wizard_id, url)
|
||||
end
|
||||
url = "/w/#{wizard_path}"
|
||||
|
||||
url = "/w/#{wizard_id}"
|
||||
end
|
||||
super(url)
|
||||
end
|
||||
|
|
Laden …
In neuem Issue referenzieren