Sha256: 52f769b0a8523aee4ffbead97397dae9a7fc3c981ee1dcebbce3f4621f47b6dd
Contents?: true
Size: 520 Bytes
Versions: 8
Compression:
Stored size: 520 Bytes
Contents
class Dorsale::ApplicationController < ::ApplicationController include Pundit include Agilibox::BackUrlConcern include Agilibox::SortingHelper after_action :verify_authorized after_action :verify_policy_scoped layout -> { if request.xhr? false else "application" end } def filters_jar cookies end def model raise NotImplementedError end helper_method :model helper_method :filters_jar def scope policy_scope(model) end helper_method :scope end
Version data entries
8 entries across 8 versions & 1 rubygems