Don't cache admin pages
This commit is contained in:
@@ -3,5 +3,8 @@
|
|||||||
|
|
||||||
module Admin
|
module Admin
|
||||||
class Action < Adamantium::Action
|
class Action < Adamantium::Action
|
||||||
|
config.default_headers = {
|
||||||
|
"Cache-Control" => "no-cache"
|
||||||
|
}
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Reference in New Issue
Block a user