Commit 905d2dd51ea248a3a71dc0ed1f7dd13a4f426780
1 parent
b7eb3485
Exists in
master
and in
29 other branches
ActionItem953: don't point to unexisting files
It seems that some User Agents are interpreting the CSS, and trying to download referenced files inside commented code !!!
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/helpers/application_helper.rb
... | ... | @@ -300,7 +300,7 @@ module ApplicationHelper |
300 | 300 | if File.exists?(File.join(RAILS_ROOT, 'public', filename)) |
301 | 301 | "@import url(#{filename});\n" |
302 | 302 | else |
303 | - "/* Not included: url(#{filename}) */\n" | |
303 | + "" | |
304 | 304 | end |
305 | 305 | end.join(), |
306 | 306 | { "type" => "text/css" }.merge(options) | ... | ... |