Method: GenericAuth::Engine#remove_activity
- Defined in:
- lib/generic_auth/engine.rb
#remove_activity(role, activity) ⇒ Object
49 50 51 52 53 54 |
# File 'lib/generic_auth/engine.rb', line 49 def remove_activity role, activity require_defined_role role require_activity_symbol activity @roles[role].delete(activity) if @roles[role][activity] end |