Skip to content

Commit

Permalink
use favicon_link_tag to circumvent browser caching
Browse files Browse the repository at this point in the history
  • Loading branch information
thej committed Aug 4, 2015
1 parent eeb1228 commit 2687647
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
File renamed without changes.
2 changes: 1 addition & 1 deletion app/views/layouts/lines/application.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<meta name="geo.position" CONTENT="<%= CONFIG[:geo_position] %>">
<meta name="geo.placename" CONTENT="<%= CONFIG[:geo_address] %>">
<meta name="viewport" content="width=device-width, minimum-scale=1, maximum-scale=1" />
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
<%= favicon_link_tag %>
<%= yield :head %>
<%= auto_discovery_link_tag(:atom, articles_url(format: "atom"), {title: CONFIG[:feed_title]}) %>
<%= stylesheet_link_tag "lines/application", media: "all" %>
Expand Down
3 changes: 1 addition & 2 deletions app/views/layouts/lines/preview.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@
<meta charset="UTF-8" />
<%= display_meta_tags site: CONFIG[:title_short] %>
<meta name="viewport" content="width=device-width, minimum-scale=1, maximum-scale=1" />
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
<link rel="icon" href="/favicon.ico" type="image/x-icon">
<%= favicon_link_tag %>
<%= yield :head %>
<%= stylesheet_link_tag "lines/application", media: "all" %>
<%= javascript_include_tag "lines/application" %>
Expand Down

0 comments on commit 2687647

Please sign in to comment.