0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-11-09 20:02:54 +01:00

Allow wizard and user fields in custom_title

Dieser Commit ist enthalten in:
Angus McLeod 2018-09-18 11:15:11 +10:00
Ursprung 5c7ab3d550
Commit a1f4d6fdf9

Datei anzeigen

@ -249,7 +249,7 @@ class CustomWizard::Builder
def create_topic(user, action, data) def create_topic(user, action, data)
if action['custom_title'] if action['custom_title']
title = action['custom_title'] title = CustomWizard::Builder.fill_placeholders(action['custom_title'], user, data)
else else
title = data[action['title']] title = data[action['title']]
end end