Sha256: ea4a2d451581f3bd3aebbbc81cc90a9d3ed2155fd316a5c5d0877e42e399313b
Contents?: true
Size: 452 Bytes
Versions: 1
Compression:
Stored size: 452 Bytes
Contents
class Dorsale::ApplicationController < ::ApplicationController include Pundit include Dorsale::BackUrlConcern include Dorsale::SortingHelper after_action :verify_authorized after_action :verify_policy_scoped layout -> { if request.xhr? false else "application" end } def model raise NotImplementedError end helper_method :model def scope policy_scope(model) end helper_method :scope end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
dorsale-3.4.0 | app/controllers/dorsale/application_controller.rb |