Remove unused link_to_older and link_to_newer helper methods (#29620)

This commit is contained in:
Matt Jankowski authored and GitHub committed 2024-03-18 08:54:46 +00:00
1 parent 97a229d5f4
commit ecdbf15ebe
70 files changed
-163

No files matched your search

-8
View File
@@ -4,14 +4,6 @@ module StatusesHelper
EMBEDDED_CONTROLLER = 'statuses'
EMBEDDED_ACTION = 'embed'
def link_to_newer(url)
link_to t('statuses.show_newer'), url, class: 'load-more load-gap'
end
def link_to_older(url)
link_to t('statuses.show_older'), url, class: 'load-more load-gap'
end
def nothing_here(extra_classes = '')
content_tag(:div, class: "nothing-here #{extra_classes}") do
t('accounts.nothing_here')