about summary refs log tree commit diff
path: root/spec/models/mention_spec.rb
diff options
context:
space:
mode:
authorThibG <thib@sitedethib.com>2020-02-19 22:31:53 +0100
committerGitHub <noreply@github.com>2020-02-19 22:31:53 +0100
commitd8e9bae482b2921c3a06e6d94c0b8a07cf0c41ff (patch)
tree2a36318574c8c3cc6d45c0130e420ec1ae6abba6 /spec/models/mention_spec.rb
parent1314bba68a5f2d271312bad08f108e1ff56c2c00 (diff)
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.
Diffstat (limited to 'spec/models/mention_spec.rb')
0 files changed, 0 insertions, 0 deletions