app/views/layouts/survey_admin.html.erb in survey_says-0.0.1 vs app/views/layouts/survey_admin.html.erb in survey_says-0.0.2
- old
+ new
@@ -18,10 +18,10 @@
</div>
<div id="right-container">
<ul style='padding:10px;'>
<li style='margin-bottom:10px;'><%= link_to "Questionnaires", survey_admin_questionnaires_path() %></li>
<li style='margin-bottom:10px;'><%= link_to "Questions", survey_admin_questions_path() %></li>
- <% if @question.try(:id) || @answer.try(:id) %>
+ <% if @question.try(:id) %>
<li style='margin-bottom:10px;'>
<%= link_to "Answers", survey_admin_question_answers_path(@question) %>
</li>
<% elsif @answer.try(:id) %>
<li style='margin-bottom:10px;'>