mirror of
https://framagit.org/tykayn/mastodon.git
synced 2023-08-25 08:33:12 +02:00
Skip asset pipeline for static file in public/ (#3125)
This commit is contained in:
parent
620d0d8029
commit
25e5aa645d
@ -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…
Reference in New Issue
Block a user