Sha256: 2c3279cbf96fec28fdac3e44b5c52420362939d112e51696edfe457a063f595f
Contents?: true
Size: 659 Bytes
Versions: 2
Compression:
Stored size: 659 Bytes
Contents
module Itsf::Backend class HomeController < Configuration.home_base_controller.constantize helper Itsf::Backend::ApplicationHelper helper MultiClientHelper if Itsf::Backend.features?(:multi_client) if Itsf::Backend.features?(:pundit) include Pundit prepend Controller::PunditNamespacedAuthorizeConcern include Controller::PunditAuthorizationFailureHandlingConcern helper_method :engine_policy end layout 'itsf/backend/base' helper_method :engine def self.engine "#{name.deconstantize}::Engine".constantize end def engine self.class.engine end def index end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
itsf_backend-1.1.9 | app/controllers/itsf/backend/home_controller.rb |
itsf_backend-1.1.8 | app/controllers/itsf/backend/home_controller.rb |