Skip to content

Commit d69eb3a

Browse files
committed
Remove unused code
These private methods aren't used anywhere.
1 parent 7090299 commit d69eb3a

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

app/presenters/detailed_guide_presenter.rb

-12
Original file line numberDiff line numberDiff line change
@@ -18,16 +18,4 @@ def logo
1818

1919
{ path: image["url"], alt_text: "European structural investment funds" }
2020
end
21-
22-
private
23-
24-
def related_links(key)
25-
raw_links = content_item["links"]
26-
guides = raw_links.fetch(key, [])
27-
guides.map { |g| { text: g["title"], path: g["base_path"] } }
28-
end
29-
30-
def related_guides_title
31-
I18n.t("detailed_guide.related_guides")
32-
end
3321
end

0 commit comments

Comments
 (0)