Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatically expire footer cache when settings changed #1502

Merged
merged 2 commits into from
Jul 10, 2023
Merged

Conversation

fbacall
Copy link
Contributor

@fbacall fbacall commented Jul 5, 2023

Uses Rails' cache key generation to detect if settings have changed

Also update Manchester/HITS website links to HTTPS

<% end %>
<%= link_to 'Funding and Programmes', funding_home_path -%> |
<% if Seek::Config.funding_link.present? %>
<a href="<%=Seek::Config.funding_link%>" target="_blank">
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this should be changed to link_to (no idea why it was written this way). I don't think link_to automatically adds the noreferrer though. We may need to update all links that open in a new tab.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i'll just change it to link_to for now, we can think about how to update all external links later

@fbacall fbacall merged commit 995fca3 into main Jul 10, 2023
25 checks passed
@fbacall fbacall deleted the footer-fixes branch July 14, 2023 14:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants