Module: EffectiveRegionsControllerHelper
- Defined in:
- app/helpers/effective_regions_controller_helper.rb
Instance Method Summary collapse
- #effectively_editing? ⇒ Boolean (also: #effectively_editting?)
Instance Method Details
#effectively_editing? ⇒ Boolean Also known as: effectively_editting?
2 3 4 5 6 7 |
# File 'app/helpers/effective_regions_controller_helper.rb', line 2 def effectively_editing? @effectively_editing ||= ( request.fullpath.include?('edit=true') && EffectiveResources.(controller, :edit, Effective::Region.new) ) end |