commit: 25e5aa645d171f8438c6835aaaf8735e4e9cca24
parent: 620d0d80293bef80753ecfcec1c4c5226e67cd6d
Author: Matt Jankowski <mjankowski@thoughtbot.com>
Date: Thu, 18 May 2017 20:41:56 -0400
Skip asset pipeline for static file in public/ (#3125)
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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