]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Revert "Always append foundation to application stylesheet."
authorMark Hayes <mark@zurb.com>
Tue, 19 Mar 2013 18:32:08 +0000 (11:32 -0700)
committerMark Hayes <mark@zurb.com>
Tue, 19 Mar 2013 18:32:08 +0000 (11:32 -0700)
This reverts commit dc879dc096025fda536cc3ac8279280939df53e5.

lib/foundation/generators/install_generator.rb

index 8e5b57bb752468d551913c821f68a92f1cb4b7f9..d08ea2dff4ee24ae8c98e33a4423e4a13d839b2a 100644 (file)
@@ -17,7 +17,7 @@ module Foundation
         settings_file = File.join(File.dirname(__FILE__),"..","..","..","templates","project","scss","_settings.scss")
         create_file "app/assets/stylesheets/foundation_and_overrides.scss", File.read(settings_file)
         append_to_file "app/assets/stylesheets/foundation_and_overrides.scss", "\n@import 'foundation';\n"
-        append_to_file "app/assets/stylesheets/application#{detect_css_format[0]}", "#{detect_css_format[1]} require foundation_and_overrides\n"
+        insert_into_file "app/assets/stylesheets/application#{detect_css_format[0]}", "#{detect_css_format[1]} require foundation_and_overrides\n", :after => "require_self\n"
       end
 
       def detect_js_format