Sha256: c432993397e1fd3380b37289184a3a0417ade40cecb8858db82517fbcc2977c0

Contents?: true

Size: 541 Bytes

Versions: 1

Compression:

Stored size: 541 Bytes

Contents

# frozen_string_literal: true

module Decidim
  module Posts
    # 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.
    class ApplicationController < Decidim::Components::BaseController
      helper Decidim::Posts::ApplicationHelper

      def user_has_no_permission_path
        decidim.new_user_session_path
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
decidim-posts-1.0.0 app/controllers/decidim/posts/application_controller.rb