Permalink
Browse files

added stylesheets to install_generator

  • Loading branch information...
1 parent 7cfb3c8 commit 322edd7fde1597c063d6d4ab8cb29b030f8a1a03 @wemerson wemerson committed with LBRapid Feb 29, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 lib/generators/spree_rdr_theme/install/install_generator.rb
@@ -7,6 +7,10 @@ def add_javascripts
append_file "app/assets/javascripts/store/all.js", "//= require store/rdr_wishlist\n"
end
+ def add_stylesheets
+ inject_into_file "app/assets/stylesheets/store/all.css", " *= require store/rdr\n", :before => /\*\//, :verbose => true
+ end
+
end
end
end

0 comments on commit 322edd7

Please sign in to comment.