Skip to content

Commit

Permalink
require current question (#179)
Browse files Browse the repository at this point in the history
  • Loading branch information
microstudi authored Jul 23, 2024
1 parent ec9166d commit bcc52d1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!-- insert_before 'h2' -->

<% if user_signed_in? %>
<% if user_signed_in? && defined?(current_question) && current_question&.consultation %>
<div id="user-answers-summary" data-summary-path="<%= decidim_action_delegator.questions_summary_path(current_question.consultation) %>">
<%= render "decidim/consultations/question_votes/callout", consultation: current_question.consultation %>

Expand Down

0 comments on commit bcc52d1

Please sign in to comment.