Class: Decidim::Posts::ApplicationController

Inherits:
Components::BaseController
  • Object
show all
Defined in:
app/controllers/decidim/posts/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::Components::BaseController`, which override its layout and provide all kinds of useful methods.

Instance Method Summary collapse

Instance Method Details

#user_has_no_permission_pathObject



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

def user_has_no_permission_path
  decidim.new_user_session_path
end