Sha256: 41c30b1202fa8eed0949823a4b16289d1cd51a51afc9e3c2558a62ec5e79bef5
Contents?: true
Size: 302 Bytes
Versions: 6
Compression:
Stored size: 302 Bytes
Contents
module EffectiveRegionsControllerHelper def effectively_editing? @effectively_editing ||= ( request.fullpath.include?('edit=true') && EffectiveResources.authorized?(controller, :edit, Effective::Region.new) ) end alias_method :effectively_editting?, :effectively_editing? end
Version data entries
6 entries across 6 versions & 1 rubygems