rails: update framework files and settings to 7.0.

* Update framework files with `bin/rails app:update`.
* Update to use new Rails 7.0 default settings, except for a couple
  things regarding new cookie and cache formats that would prevent us
  from rolling back to Rails 6.1 if necessary.
This commit is contained in:
evazion
2022-01-07 15:23:45 -06:00
parent 346aeca791
commit 87dfc66073
10 changed files with 171 additions and 83 deletions

View File

@@ -29,7 +29,7 @@
<%= stylesheet_pack_tag "application" %>
<% if CurrentUser.user.custom_style.present? && params.fetch(:css, "true").truthy? %>
<%= stylesheet_link_tag custom_style_users_path(md5: Digest::MD5.hexdigest(CurrentUser.user.custom_style)), media: "screen" %>
<%= stylesheet_link_tag custom_style_users_path(md5: Digest::MD5.hexdigest(CurrentUser.user.custom_style)) %>
<% end %>
<% if current_page?(root_url) %>