Browse Source

Allow wizard and user fields in custom_title

Angus McLeod 6 years ago
parent
commit
a1f4d6fdf9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/builder.rb

+ 1 - 1
lib/builder.rb

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