Skip asset pipeline for static file in public/ (#3125)

This commit is contained in:
Matt Jankowski authored and Eugen Rochko committed 2017-05-19 02:41:56 +02:00
1 parent 620d0d8029
commit 25e5aa645d
1 file changed
+1 -1
+1 -1
View File
@@ -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