Class: GotFixed::Generators::InstallGenerator

Inherits:
Rails::Generators::Base
  • Object
show all
Defined in:
lib/generators/got_fixed/install/install_generator.rb

Instance Method Summary collapse

Instance Method Details

#add_routeObject



13
14
15
# File 'lib/generators/got_fixed/install/install_generator.rb', line 13

def add_route
  route "mount GotFixed::Engine => '/got_fixed'"
end

#copy_default_configObject



9
10
11
# File 'lib/generators/got_fixed/install/install_generator.rb', line 9

def copy_default_config
  copy_file "got_fixed.yml", "config/got_fixed.yml"
end