app/controllers/concerns/decidim/consultations/needs_question.rb in decidim-consultations-0.11.2 vs app/controllers/concerns/decidim/consultations/needs_question.rb in decidim-consultations-0.12.0.pre
- old
+ new
@@ -47,16 +47,9 @@
alias current_participatory_space current_question
private
- def ability_context
- super.merge(
- current_question: current_question,
- current_consultation: current_consultation
- )
- end
-
def detect_question
request.env["current_question"] ||
OrganizationQuestions.for(current_organization).find_by(slug: params[:question_slug] || params[:slug])
end