소스 검색

Allow wizard and user fields in custom_title

Angus McLeod 6 년 전
부모
커밋
a1f4d6fdf9
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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