Class: Blacklight::AssetsGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- Blacklight::AssetsGenerator
- Defined in:
- lib/generators/blacklight/assets_generator.rb
Instance Method Summary collapse
Instance Method Details
#run_asset_pipeline_specific_generator ⇒ Object
9 10 11 12 13 14 15 |
# File 'lib/generators/blacklight/assets_generator.rb', line 9 def run_asset_pipeline_specific_generator = "--bootstrap-version='#{Shellwords.escape([:'bootstrap-version'])}'" if [:'bootstrap-version'] # Blacklight 7.x JS is distributed via Sprockets (//= require directives, jQuery, etc.) # so we always use the sprockets generator regardless of what Rails defaulted to. generate 'blacklight:assets:sprockets', end |