Class: Pageflow::Generators::CancanGenerator Private
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- Pageflow::Generators::CancanGenerator
- Defined in:
- lib/generators/pageflow/cancan/cancan_generator.rb
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Instance Method Summary collapse
- #create_ability ⇒ Object private
Instance Method Details
#create_ability ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
11 12 13 |
# File 'lib/generators/pageflow/cancan/cancan_generator.rb', line 11 def create_ability template 'ability.rb', 'app/models/ability.rb' end |