From 25e5aa645d171f8438c6835aaaf8735e4e9cca24 Mon Sep 17 00:00:00 2001 From: Matt Jankowski Date: Thu, 18 May 2017 20:41:56 -0400 Subject: [PATCH] Skip asset pipeline for static file in public/ (#3125) --- app/helpers/application_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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