Skip to content
Permalink
Browse files

Allow wizard and user fields in custom_title

  • Loading branch information...
angusmcleod committed Sep 18, 2018
1 parent 5c7ab3d commit a1f4d6fdf9fa2cfe352490046dab41969284a4b4
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/builder.rb
@@ -249,7 +249,7 @@ def standardise_boolean(value)

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

0 comments on commit a1f4d6f

Please sign in to comment.
You can’t perform that action at this time.