diff --git a/Gemfile.lock b/Gemfile.lock index 85f38298b..ae8d685a2 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -160,7 +160,7 @@ GEM zeitwerk i18n (1.14.6) concurrent-ruby (~> 1.0) - importmap-rails (2.0.3) + importmap-rails (2.1.0) actionpack (>= 6.0.0) activesupport (>= 6.0.0) railties (>= 6.0.0) @@ -388,4 +388,4 @@ RUBY VERSION ruby 3.3.5p100 BUNDLED WITH - 2.5.23 + 2.5.21 diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index 6a5708320..c54063eef 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -1,5 +1,6 @@ class ApplicationController < ActionController::Base include Authentication + stale_when_importmap_changes allow_browser versions: :modern end