Module: Hancock::RailsAdminPatch
- Extended by:
- ActiveSupport::Concern
- Defined in:
- app/models/concerns/hancock/rails_admin_patch.rb
Instance Method Summary collapse
- #admin_can_actions ⇒ Object
- #admin_cannot_actions ⇒ Object
- #manager_can_actions ⇒ Object
- #manager_cannot_actions ⇒ Object
- #rails_admin_model ⇒ Object
Instance Method Details
#admin_can_actions ⇒ Object
36 37 38 |
# File 'app/models/concerns/hancock/rails_admin_patch.rb', line 36 def admin_can_actions self.class.admin_can_actions end |
#admin_cannot_actions ⇒ Object
39 40 41 |
# File 'app/models/concerns/hancock/rails_admin_patch.rb', line 39 def admin_cannot_actions self.class.admin_cannot_actions end |
#manager_can_actions ⇒ Object
42 43 44 |
# File 'app/models/concerns/hancock/rails_admin_patch.rb', line 42 def manager_can_actions self.class.manager_can_actions end |
#manager_cannot_actions ⇒ Object
45 46 47 |
# File 'app/models/concerns/hancock/rails_admin_patch.rb', line 45 def manager_cannot_actions self.class.manager_cannot_actions end |
#rails_admin_model ⇒ Object
32 33 34 |
# File 'app/models/concerns/hancock/rails_admin_patch.rb', line 32 def rails_admin_model self.class.rails_admin_model end |