app/controllers/decidim/accountability/admin/results_controller.rb in decidim-accountability-0.24.3 vs app/controllers/decidim/accountability/admin/results_controller.rb in decidim-accountability-0.25.0.rc1
- old
+ new
@@ -5,10 +5,10 @@
module Admin
# This controller allows an admin to manage results from a Participatory Process
class ResultsController < Admin::ApplicationController
include Decidim::ApplicationHelper
include Decidim::SanitizeHelper
- include Decidim::Proposals::Admin::Picker
+ include Decidim::Proposals::Admin::Picker if Decidim::Accountability.enable_proposal_linking
include Decidim::Accountability::Admin::Filterable
helper_method :results, :parent_result, :parent_results, :statuses, :present
def collection