Skip to content

Commit

Permalink
Fixing error
Browse files Browse the repository at this point in the history
  • Loading branch information
ankurp committed Oct 29, 2024
1 parent e0a87d5 commit b943bf8
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 6 deletions.
3 changes: 0 additions & 3 deletions app/helpers/application_helper.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,2 @@
module ApplicationHelper
def current_git_hash
`git rev-parse HEAD`.strip
end
end
6 changes: 3 additions & 3 deletions app/views/layouts/application.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
<%# Enable PWA manifest for installable apps (make sure to enable in config/routes.rb too!) %>
<%#= tag.link rel: "manifest", href: pwa_manifest_path(format: :json) %>

<link rel="icon" href="/icon.png?<%= current_git_hash %>" type="image/png" />
<link rel="icon" href="/icon.svg?<%= current_git_hash %>" type="image/svg+xml" />
<link rel="apple-touch-icon" href="/icon.png" />
<link rel="icon" href="/favicon.png" type="image/png" />
<link rel="icon" href="/favicon.svg" type="image/svg+xml" />
<link rel="apple-touch-icon" href="/favicon.png" />

<%# Includes all stylesheet files in app/assets/stylesheets %>
<%= stylesheet_link_tag :app, "data-turbo-track": "reload" %>
Expand Down
File renamed without changes
File renamed without changes

0 comments on commit b943bf8

Please sign in to comment.