decidim-admin/app/controllers/decidim/admin/features/base_controller.rb in decidim-0.1.0 vs decidim-admin/app/controllers/decidim/admin/features/base_controller.rb in decidim-0.2.0
- old
+ new
@@ -1,15 +1,18 @@
# frozen_string_literal: true
+
module Decidim
module Admin
module Features
# This controller is the abstract class from which all feature
# controllers in their admin engines should inherit from.
class BaseController < Admin::ApplicationController
skip_authorize_resource
include Concerns::ParticipatoryProcessAdmin
include NeedsParticipatoryProcess
include FeatureSettings
+
+ helper Decidim::Admin::ExportsHelper
helper_method :current_feature,
:current_participatory_process,
:parent_path