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

rebase/4.0.0rc2
Matt Jankowski 2017-05-18 20:41:56 -04:00 committed by Eugen Rochko
parent 620d0d8029
commit 25e5aa645d
1 changed files with 1 additions and 1 deletions

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