fixes answer bug for input_type: text

This commit is contained in:
Mark Moser 2016-08-11 17:10:51 -05:00
parent df024046ac
commit 356432724b
2 changed files with 2 additions and 2 deletions

View File

@ -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>

View File

@ -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"] %>