Red favicon for dev (#2470)
* Set a dev specific favicon * Consistent spacing * Add trailing slash for consistency * Update to remove interpolation
This commit is contained in:
parent
416c9675fc
commit
25cbb8454c
3 changed files with 6 additions and 0 deletions
|
@ -13,4 +13,9 @@ module ApplicationHelper
|
|||
other_classes = "#{other_classes} rtl" if [:ar, :fa].include?(I18n.locale)
|
||||
other_classes
|
||||
end
|
||||
|
||||
def favicon_path
|
||||
env_suffix = Rails.env.production? ? '' : '-dev'
|
||||
asset_path "favicon#{env_suffix}.ico"
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue