Class: SecureLink::Generators::PermissionGenerator

Inherits:
Rails::Generators::Base
  • Object
show all
Defined in:
lib/generators/secure_link/permission_generator.rb

Instance Method Summary collapse

Instance Method Details

#generate_permissionObject



6
7
8
# File 'lib/generators/secure_link/permission_generator.rb', line 6

def generate_permission
  copy_file "permission.rb", "app/controllers/permission.rb"
end