Skip to content

Commit

Permalink
Merge pull request #3373 from aldesantis/aldesantis/bugfix/sprockets-4
Browse files Browse the repository at this point in the history
Fix Sprockets 4 support for extensions
  • Loading branch information
kennyadsl authored Oct 23, 2019
2 parents 7363581 + b6713b2 commit 4051fd6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions core/lib/generators/spree/install/install_generator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,9 @@ def additional_tweaks

def setup_assets
@lib_name = 'spree'

empty_directory 'app/assets/images'

%w{javascripts stylesheets images}.each do |path|
empty_directory "vendor/assets/#{path}/spree/frontend" if defined? Spree::Frontend || Rails.env.test?
empty_directory "vendor/assets/#{path}/spree/backend" if defined? Spree::Backend || Rails.env.test?
Expand Down

0 comments on commit 4051fd6

Please sign in to comment.