Class: Decidim::DecidimAwesome::Admin::AdminAccountabilityController
- Inherits:
-
ApplicationController
- Object
- Admin::ApplicationController
- ApplicationController
- Decidim::DecidimAwesome::Admin::AdminAccountabilityController
- Defined in:
- app/controllers/decidim/decidim_awesome/admin/admin_accountability_controller.rb
Instance Method Summary collapse
Methods included from NeedsAwesomeConfig
Methods inherited from ApplicationController
Instance Method Details
#export ⇒ Object
20 21 22 23 24 25 26 27 28 29 |
# File 'app/controllers/decidim/decidim_awesome/admin/admin_accountability_controller.rb', line 20 def export filters = export_params[:q] Decidim::DecidimAwesome::ExportAdminActionsJob.perform_later(current_user, params[:format].to_s, admin_actions.ransack(filters).result.ids) redirect_back fallback_location: decidim_admin_decidim_awesome.admin_accountability_path, notice: t("decidim.decidim_awesome.admin.admin_accountability.exports.notice") end |
#index ⇒ Object
18 |
# File 'app/controllers/decidim/decidim_awesome/admin/admin_accountability_controller.rb', line 18 def index; end |