lib/compass/installers/rails.rb in chriseppstein-compass-0.8.11 vs lib/compass/installers/rails.rb in chriseppstein-compass-0.8.12
- old
+ new
@@ -115,9 +115,11 @@
end
def stylesheet_links
html = "%head\n"
manifest.each_stylesheet do |stylesheet|
+ # Skip partials.
+ next if File.basename(stylesheet.from)[0..0] == "_"
ss_line = " = stylesheet_link_tag '#{stylesheet_prefix}#{stylesheet.to.sub(/\.sass$/,'.css')}'"
if stylesheet.options[:media]
ss_line += ", :media => '#{stylesheet.options[:media]}'"
end
if stylesheet.options[:condition]