Class: Cannie::Generators::PermissionsGenerator

Inherits:
Rails::Generators::Base
  • Object
show all
Defined in:
lib/generators/cannie/permissions/permissions_generator.rb

Instance Method Summary collapse

Instance Method Details

#generate_permissionsObject



6
7
8
# File 'lib/generators/cannie/permissions/permissions_generator.rb', line 6

def generate_permissions
  copy_file 'permissions.rb', 'app/models/permissions.rb'
end