Class: Decidim::Comments::ApplicationController

Inherits:
ApplicationController show all
Defined in:
decidim-comments/app/controllers/decidim/comments/application_controller.rb

Overview

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

Direct Known Subclasses

CommentsController, VotesController

Instance Method Summary collapse

Methods included from UserBlockedChecker

#check_user_block_status, #check_user_not_blocked

Methods included from NeedsSnippets

#snippets

Methods included from HttpCachingDisabler

#disable_http_caching

Methods included from HasStoredPath

#skip_store_location?, #store_current_location

Methods included from RegistersPermissions

register_permissions

Methods included from NeedsOrganization

enhance_controller, extended, included

Instance Method Details

#permission_class_chainObject


8
9
10
11
12
13
# File 'decidim-comments/app/controllers/decidim/comments/application_controller.rb', line 8

def permission_class_chain
  [
    ::Decidim::Comments::Permissions,
    ::Decidim::Permissions
  ]
end