Class: ActiveEntry::InstallGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- ActiveEntry::InstallGenerator
- Defined in:
- lib/generators/active_entry/install/install_generator.rb
Instance Method Summary collapse
Instance Method Details
#create_application_policy ⇒ Object
5 6 7 |
# File 'lib/generators/active_entry/install/install_generator.rb', line 5 def create_application_policy template "application_policy.rb", File.join("app/policies/application_policy.rb"), skip: true end |