fixes #1938, Add special random parameter

This commit is contained in:
Toks
2015-05-17 20:06:31 -04:00
parent 0409d6fd69
commit 0d24a45855
3 changed files with 23 additions and 8 deletions

View File

@@ -9,5 +9,7 @@
</div>
<% end %>
<%= numbered_paginator(post_set.posts) %>
<% unless params[:random].present? %>
<%= numbered_paginator(post_set.posts) %>
<% end %>
</div>