Class: NiftyErrorpages::Generators::ControllersGenerator

Inherits:
Rails::Generators::Base
  • Object
show all
Defined in:
lib/generators/nifty_errorpages/controllers/controllers_generator.rb

Instance Method Summary collapse

Instance Method Details

#copy_controllersObject



12
13
14
# File 'lib/generators/nifty_errorpages/controllers/controllers_generator.rb', line 12

def copy_controllers
  directory "controllers", "app/controllers"
end