about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMatt Jankowski <mjankowski@thoughtbot.com>2017-05-18 20:41:56 -0400
committerEugen Rochko <eugen@zeonfederated.com>2017-05-19 02:41:56 +0200
commit25e5aa645d171f8438c6835aaaf8735e4e9cca24 (patch)
tree9e7af2f581789b37eb642bac69ed0dc13cdab323
parent620d0d80293bef80753ecfcec1c4c5226e67cd6d (diff)
Skip asset pipeline for static file in public/ (#3125)
-rw-r--r--app/helpers/application_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb
index 8f1cd8fce..42f6ab3db 100644
--- a/app/helpers/application_helper.rb
+++ b/app/helpers/application_helper.rb
@@ -20,7 +20,7 @@ module ApplicationHelper
 
   def favicon_path
     env_suffix = Rails.env.production? ? '' : '-dev'
-    asset_path "favicon#{env_suffix}.ico"
+    "/favicon#{env_suffix}.ico"
   end
 
   def title