Class: Permissify::Generators::ControllerGenerator

Inherits:
Rails::Generators::Base
  • Object
show all
Defined in:
lib/generators/permissify/controller/controller_generator.rb

Instance Method Summary collapse

Instance Method Details

#generate_controllerObject



6
7
8
# File 'lib/generators/permissify/controller/controller_generator.rb', line 6

def generate_controller
  copy_file "permissions_controller.rb", "app/controllers/permissions_controller.rb"
end