Fix error in installation instructions on scss-based projects.
Closes GH-186.
This commit is contained in:
parent
d5e4ba7533
commit
45ca5eb147
@ -122,7 +122,7 @@ NEXTSTEPS
|
|||||||
manifest.each_stylesheet do |stylesheet|
|
manifest.each_stylesheet do |stylesheet|
|
||||||
# Skip partials.
|
# Skip partials.
|
||||||
next if File.basename(stylesheet.from)[0..0] == "_"
|
next if File.basename(stylesheet.from)[0..0] == "_"
|
||||||
ss_line = " = stylesheet_link_tag '#{stylesheet_prefix}#{stylesheet.to.sub(/\.sass$/,'.css')}'"
|
ss_line = " = stylesheet_link_tag '#{stylesheet_prefix}#{stylesheet.to.sub(/\.s[ac]ss$/,'.css')}'"
|
||||||
if stylesheet.options[:media]
|
if stylesheet.options[:media]
|
||||||
ss_line += ", :media => '#{stylesheet.options[:media]}'"
|
ss_line += ", :media => '#{stylesheet.options[:media]}'"
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user