Class: CurationConcerns::Assets

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

Instance Method Summary collapse

Instance Method Details

#assetsObject



11
12
13
14
# File 'lib/generators/curation_concerns/assets_generator.rb', line 11

def assets
  copy_file 'curation_concerns.scss', 'app/assets/stylesheets/curation_concerns.scss'
  copy_file 'curation_concerns.js', 'app/assets/javascripts/curation_concerns.js'
end

#remove_blacklight_scssObject



7
8
9
# File 'lib/generators/curation_concerns/assets_generator.rb', line 7

def remove_blacklight_scss
  remove_file 'app/assets/stylesheets/blacklight.css.scss'
end