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