Class: AbilityMapping

Inherits:
EacRailsBase0::AppBase::AbilityMapping show all
Defined in:
lib/generators/eac_rails_base0/abilities/templates/ability_mapping.rb

Constant Summary

Constants inherited from EacRailsBase0::AppBase::AbilityMapping

EacRailsBase0::AppBase::AbilityMapping::MAP_METHODS

Instance Method Summary collapse

Methods inherited from EacRailsBase0::AppBase::AbilityMapping

#map_aranha, #map_eac_rails_base0, #map_eac_rails_delayed_job, #map_eac_rails_remotes, #map_eac_users_support, #map_tasks_schedulers

Constructor Details

#initialize(*args) ⇒ AbilityMapping

Returns a new instance of AbilityMapping.



4
5
6
7
# File 'lib/generators/eac_rails_base0/abilities/templates/ability_mapping.rb', line 4

def initialize(*args)
  super
  map_action 'Welcome', 'index', :read, :public
end