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

th-downstream
Matt Jankowski 8 years ago committed by Eugen Rochko
parent 0cafe62561
commit 48b3f0cffa

@ -20,7 +20,7 @@ module ApplicationHelper
def favicon_path def favicon_path
env_suffix = Rails.env.production? ? '' : '-dev' env_suffix = Rails.env.production? ? '' : '-dev'
asset_path "favicon#{env_suffix}.ico" "/favicon#{env_suffix}.ico"
end end
def title def title

Loading…
Cancel
Save