Class: Decidim::FeedsUi::Admin::ApplicationController

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

Overview

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

Instance Method Summary collapse

Instance Method Details

#permission_class_chainObject



9
10
11
# File 'app/controllers/decidim/feeds_ui/admin/application_controller.rb', line 9

def permission_class_chain
  [::Decidim::FeedsUi::Admin::Permissions] + super
end

#user_has_no_permission_pathObject



17
18
19
# File 'app/controllers/decidim/feeds_ui/admin/application_controller.rb', line 17

def user_has_no_permission_path
  decidim.root_path
end

#user_not_authorized_pathObject



13
14
15
# File 'app/controllers/decidim/feeds_ui/admin/application_controller.rb', line 13

def user_not_authorized_path
  decidim.root_path
end