Module: FooterHelper
- Defined in:
- app/helpers/footer_helper.rb
Instance Method Summary collapse
Instance Method Details
#app_version_footer ⇒ Object
2 3 4 5 6 7 8 9 10 11 12 |
# File 'app/helpers/footer_helper.rb', line 2 def Rails.cache.fetch(['app_version_footer', AppVersion.commit_id], expires_in: 1.day) do ( "#{AppVersion.app_name}, " + link_to("Version #{AppVersion.version}", AppVersion.releases_url) + ", " + link_to("Commit #{AppVersion.short_commit_id}", AppVersion.github_commit_url) + " | " + link_to("Changelog", AppVersion.changelog_url) ).html_safe end end |