Fix account JSON/RSS not being cacheable due to wrong mime type comparison (#13116)
`request.format` is not a symbol but a `Mime::Type`, so the condition actually never matched, and a session was created even for those requests, preventing caching.main
parent
1314bba68a
commit
d8e9bae482
Loading…
Reference in new issue