Merged r23910 from 5.1-stable to 5.0-stable (#42998).

git-svn-id: https://svn.redmine.org/redmine/branches/5.0-stable@23912 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Marius Balteanu
2025-08-10 13:32:40 +00:00
parent 1130d51e21
commit e353e8d25a

View File

@@ -144,6 +144,14 @@ module ActionController
end
end
module ActionController
module ConditionalGet
def no_store
response.cache_control.replace(no_store: true)
end
end
end
# Adds asset_id parameters to assets like Rails 3 to invalidate caches in browser
module ActionView
module Helpers