Fix public profile pagination links

master
Eugen Rochko 8 years ago
parent d8c5a83827
commit 99ca63a543
  1. 2
      app/views/accounts/show.html.haml

@ -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'

Loading…
Cancel
Save