Commit 905d2dd51ea248a3a71dc0ed1f7dd13a4f426780

Authored by Antonio Terceiro
1 parent b7eb3485

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,7 +300,7 @@ module ApplicationHelper
300 if File.exists?(File.join(RAILS_ROOT, 'public', filename)) 300 if File.exists?(File.join(RAILS_ROOT, 'public', filename))
301 "@import url(#{filename});\n" 301 "@import url(#{filename});\n"
302 else 302 else
303 - "/* Not included: url(#{filename}) */\n" 303 + ""
304 end 304 end
305 end.join(), 305 end.join(),
306 { "type" => "text/css" }.merge(options) 306 { "type" => "text/css" }.merge(options)