]> cat aescling's git repositories - mastodon.git/commitdiff
Fix public profile pagination links
authorEugen Rochko <eugen@zeonfederated.com>
Sat, 25 Mar 2017 18:16:17 +0000 (19:16 +0100)
committerEugen Rochko <eugen@zeonfederated.com>
Sat, 25 Mar 2017 18:16:17 +0000 (19:16 +0100)
app/views/accounts/show.html.haml

index e1ad2d905b18e11668949ba390db630f6bea5956..3b8c67b459f9e923500afa98762f03654a62e0dc 100644 (file)
@@ -31,4 +31,4 @@
 
   .pagination
     - if @statuses.size == 20
-      = link_to safe_join([t('pagination.next'), fa_icon('chevron-right')], ' '), account_url(@account, max_id: @statuses.last.id), class: 'next_page', rel: 'next'
+      = link_to safe_join([t('pagination.next'), fa_icon('chevron-right')], ' '), short_account_url(@account, max_id: @statuses.last.id), class: 'next_page', rel: 'next'