Commit 02579d6a authored by Clement Ho's avatar Clement Ho

Fix previous pagination link

parent 47a1ea20
...@@ -9,4 +9,4 @@ ...@@ -9,4 +9,4 @@
- page_url = current_page.first? ? '#' : url - page_url = current_page.first? ? '#' : url
%li.page-item{ class: ('disabled' if current_page.first?) } %li.page-item{ class: ('disabled' if current_page.first?) }
= link_to raw(t 'views.pagination.next'), page_url, rel: 'next', remote: remote, class: 'page-link' = link_to raw(t 'views.pagination.previous'), page_url, rel: 'prev', remote: remote, class: 'page-link'
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment