fixes answer bug for input_type: text
This commit is contained in:
parent
df024046ac
commit
356432724b
@ -1,5 +1,5 @@
|
|||||||
<%
|
<%
|
||||||
answers = answer.try(:answer) || answer
|
answers = answer.respond_to?(:answer) ? answer.answer : answer
|
||||||
%>
|
%>
|
||||||
|
|
||||||
<label for="answer_text">Enter answer here</label>
|
<label for="answer_text">Enter answer here</label>
|
||||||
|
@ -19,4 +19,4 @@ test:
|
|||||||
# Do not keep production secrets in the repository,
|
# Do not keep production secrets in the repository,
|
||||||
# instead read values from the environment.
|
# instead read values from the environment.
|
||||||
production:
|
production:
|
||||||
secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
|
secret_key_base: <%= ENV["secret_key_base"] %>
|
||||||
|
Loading…
Reference in New Issue
Block a user