Class: Datalab::Generators::AdministratorsGenerator

Inherits:
Base
  • Object
show all
Defined in:
lib/generators/datalab/administrators/administrators_generator.rb

Instance Method Summary collapse

Methods inherited from Base

banner, source_root

Instance Method Details

#create_configObject



7
8
9
10
# File 'lib/generators/datalab/administrators/administrators_generator.rb', line 7

def create_config
  template "administrators.rb", "config/initializers/administrators.rb"
  copy_file "administrators.yml", "config/administrators.yml"
end