diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index bb17b8455..4054d3274 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -1749,12 +1749,12 @@ module ApplicationHelper end def favicon - "".html_safe + favicon_link_tag(favicon_path, rel: "icon shortcut") end # Returns the path to the favicon def favicon_path - icon = (current_theme && current_theme.favicon?) ? current_theme.favicon_path : '/favicon.ico' + icon = (current_theme && current_theme.favicon?) ? current_theme.favicon_path : 'favicon.ico' image_path(icon) end diff --git a/public/favicon.ico b/public/images/favicon.ico similarity index 100% rename from public/favicon.ico rename to public/images/favicon.ico