Class: Decidim::Templates::Admin::ApplicationController

Inherits:
Admin::ApplicationController
  • Object
show all
Defined in:
app/controllers/decidim/templates/admin/application_controller.rb

Overview

This controller is the abstract class from which all other controllers of this engine inherit.

Note that it inherits from ‘Decidim::Admin::ApplicationController`, which override its layout and provide all kinds of useful methods.

i18n-tasks-use t(‘decidim.admin.titles.template_types.questionnaires’)

Instance Method Summary collapse

Instance Method Details

#permission_class_chainObject



20
21
22
# File 'app/controllers/decidim/templates/admin/application_controller.rb', line 20

def permission_class_chain
  ::Decidim.permissions_registry.chain_for(::Decidim::Templates::Admin::ApplicationController)
end