diff --git a/app/assets/images/favicon.png b/app/assets/images/favicon.png new file mode 100644 index 0000000..0010d19 Binary files /dev/null and b/app/assets/images/favicon.png differ diff --git a/app/views/layouts/application.html.slim b/app/views/layouts/application.html.slim index 427ea63..e6ae86d 100644 --- a/app/views/layouts/application.html.slim +++ b/app/views/layouts/application.html.slim @@ -6,8 +6,8 @@ html = yield(:meta) title = content_for?(:title) ? yield(:title) + " | #{ENV['SITE_NAME']}" : ENV['SITE_NAME'] - = stylesheet_link_tag "application", media: 'all' - link href="/favicon.png" type='image/png' rel="icon" + = stylesheet_link_tag "application", media: 'all' + = favicon_link_tag 'favicon.png', type: 'image/png' = javascript_include_tag "vendor/modernizr" = javascript_include_tag "application" = csrf_meta_tags diff --git a/public/favicon.png b/public/favicon.png deleted file mode 100644 index 820fcc3..0000000 Binary files a/public/favicon.png and /dev/null differ