Allow wizard and user fields in custom_title
Dieser Commit ist enthalten in:
Ursprung
5c7ab3d550
Commit
a1f4d6fdf9
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
|
@ -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
|
||||||
|
|
Laden …
In neuem Issue referenzieren