Class: Granite::Generators::InstallControllerGenerator

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

Instance Method Summary collapse

Instance Method Details

#copy_controllerObject



10
11
12
# File 'lib/generators/granite/install_controller_generator.rb', line 10

def copy_controller
  copy_file 'app/controllers/granite/controller.rb'
end