Skip to content

Commit

Permalink
Remove unused code
Browse files Browse the repository at this point in the history
These private methods aren't used anywhere.
  • Loading branch information
chao-xian committed Mar 10, 2021
1 parent 7090299 commit d69eb3a
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions app/presenters/detailed_guide_presenter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,4 @@ def logo

{ path: image["url"], alt_text: "European structural investment funds" }
end

private

def related_links(key)
raw_links = content_item["links"]
guides = raw_links.fetch(key, [])
guides.map { |g| { text: g["title"], path: g["base_path"] } }
end

def related_guides_title
I18n.t("detailed_guide.related_guides")
end
end

0 comments on commit d69eb3a

Please sign in to comment.