From 48b3f0cffa20701ca1eefb3b3abefece91c34787 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 8f1cd8fcee..42f6ab3db4 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