Class: GacoCms::Generators::InstallGenerator

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

Instance Method Summary collapse

Instance Method Details

#create_initializer_fileObject



10
11
12
13
# File 'lib/generators/gaco_cms/install_generator.rb', line 10

def create_initializer_file
  copy_file 'gaco_cms.rb', 'config/initializers/gaco_cms.rb'
  directory('themes', 'app/views/themes')
end