docbrown/app/services/edge_cache/bust_commentable.rb
Alex 393ba00221
Remove Elasticsearch ✂️ ✂️ ✂️ ✂️ ✂️ ✂️ ✂️ ✂️ ✂️ ✂️ ✂️ ✂️ ✂️ ✂️ (#13606)
* Attempt number 1

* Fix rack_attack specs

* Fix users_searches_users spec

* Fix display_users_search_spec

* Fix comment typo

* Remove search:destroy task from cypress

* Remove port 9300 from gitpod

* Stub response in attack_spec
2021-05-03 11:09:45 -04:00

12 lines
264 B
Ruby

module EdgeCache
class BustCommentable
def self.call(commentable)
return unless commentable
EdgeCache::BustComment.call(commentable)
cache_bust = EdgeCache::Bust.new
cache_bust.call("#{commentable.path}/comments")
end
end
end