Class: ActiveEntry::InstallGenerator

Inherits:
Rails::Generators::Base
  • Object
show all
Defined in:
lib/generators/active_entry/install/install_generator.rb

Instance Method Summary collapse

Instance Method Details

#create_application_policyObject



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