Skip to content

Commit

Permalink
Don't copy over assets to the application at all
Browse files Browse the repository at this point in the history
Assets belong in the engine
  • Loading branch information
radar committed Nov 29, 2011
1 parent 7c94348 commit 47e7d35
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions lib/generators/spree/install/install_generator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -50,18 +50,6 @@ def additional_tweaks
ROBOTS
end

def setup_assets
%w{javascripts stylesheets images}.each do |path|
empty_directory "app/assets/#{path}/store"
empty_directory "app/assets/#{path}/admin"
end

template "app/assets/javascripts/store/all.js"
template "app/assets/javascripts/admin/all.js"
template "app/assets/stylesheets/store/all.css"
template "app/assets/stylesheets/admin/all.css"
end

def create_overrides_directory
empty_directory "app/overrides"
end
Expand Down

0 comments on commit 47e7d35

Please sign in to comment.