Sha256: 8e5b421021fa29c5d6936f3b109e45be6ced9596500ce88695395203e541c8b9
Contents?: true
Size: 534 Bytes
Versions: 2
Compression:
Stored size: 534 Bytes
Contents
class Dorsale::ApplicationController < ::ApplicationController include Pundit::Authorization 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
dorsale-4.0.0 | app/controllers/dorsale/application_controller.rb |
dorsale-3.20.0 | app/controllers/dorsale/application_controller.rb |