mirror of
https://github.com/redmine/redmine.git
synced 2026-01-26 09:20:01 +01:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user