Browse Source

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

closed-social-glitch-2
Matt Jankowski 7 years ago
committed by Eugen Rochko
parent
commit
25e5aa645d
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/helpers/application_helper.rb

+ 1
- 1
app/helpers/application_helper.rb 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

Loading…
Cancel
Save