mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: Clean up next/prev rel links
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
|
||||
<% if @list.topics.length > 0 %>
|
||||
<p>
|
||||
<% if params[:page].to_i > 1 %>
|
||||
<% if params[:page].to_i > 0 %>
|
||||
<a href="<%= @list.prev_topics_url.sub('.json?','?') %>" rel="prev"><%= t 'prev_page'%></a>
|
||||
<% end %>
|
||||
<b><a href="<%= @list.more_topics_url.sub('.json?','?') %>" rel="next"><%= t 'next_page'%></a></b>
|
||||
|
||||
Reference in New Issue
Block a user