Class: ClientSideValidations::Ember::Generators::InstallGenerator

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

Instance Method Summary collapse

Instance Method Details

#copy_initalizerObject



5
6
7
8
# File 'lib/generators/client_side_validations/ember/install_generator.rb', line 5

def copy_initalizer
  source_paths << File.expand_path('../../../templates/client_side_validations/ember', __FILE__)
  copy_file 'initializer.rb', 'config/initializers/client_side_validations-ember.rb'
end