Sha256: 7fbae3b981be79c982eb612eb1454858773598ea4b16de61a4e4bc39ae4d52eb
Contents?: true
Size: 591 Bytes
Versions: 9
Compression:
Stored size: 591 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 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
9 entries across 9 versions & 1 rubygems