Browse Source

remove a comment and an unused variable

pull/61/head
Kat 4 years ago
parent
commit
00b50f429b
  1. 2
      app/controllers/case_logs_controller.rb

2
app/controllers/case_logs_controller.rb

@ -130,7 +130,6 @@ private
end
def get_next_page_path(form, previous_page, case_log = {})
questions_for_page = form.questions_for_page(previous_page)
content = form.all_pages[previous_page]
if content.key?("conditional_route_to")
@ -138,7 +137,6 @@ private
if conditions.keys.all? { |x| case_log[x].present? } && conditions.all? { |k, v| v.include?(case_log[k]) }
return "case_log_#{route}_path"
end
# raise ""
end
end
form.next_page_redirect_path(previous_page)

Loading…
Cancel
Save