Class: RailsLiveDashboard::InstallGenerator

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

Instance Method Summary collapse

Instance Method Details

#copy_initializer_fileObject



7
8
9
# File 'lib/generators/rails_live_dashboard/install_generator.rb', line 7

def copy_initializer_file
  copy_file 'initializer.rb', Rails.root.join('config/initializers/rails_live_dashboard.rb')
end