Skip to content

Commit

Permalink
Remove afghanistan topical event hack
Browse files Browse the repository at this point in the history
  • Loading branch information
KludgeKML committed Sep 12, 2023
1 parent 9769f16 commit 00fe6ba
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 45 deletions.
9 changes: 0 additions & 9 deletions app/models/afghanistan_links_presenter.rb

This file was deleted.

8 changes: 0 additions & 8 deletions app/presenters/email_alert_presenter.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
class EmailAlertPresenter
include AfghanistanLinksPresenter

def self.present(edition)
new(edition).present
end
Expand Down Expand Up @@ -47,12 +45,6 @@ def tags
end

def links
return base_links unless country.name == "Afghanistan"

base_links.merge(afganistan_topical_event_payload)
end

def base_links
{ countries: [content_id] }
end

Expand Down
28 changes: 0 additions & 28 deletions spec/presenters/email_alert_presenter_afghanistan_spec.rb

This file was deleted.

0 comments on commit 00fe6ba

Please sign in to comment.