Fixed topic pagination contol location
This commit is contained in:
@@ -8,7 +8,6 @@ class TopicsController < ApplicationController
|
||||
@topic.hit! if @topic
|
||||
|
||||
@posts = @topic.posts.page(params[:page]).per(10)
|
||||
#Kaminari.paginate_array(@topic).page(params[:page]).per(10)
|
||||
|
||||
@my_blockquote = {
|
||||
'Quote' => [
|
||||
|
||||
@@ -41,9 +41,9 @@
|
||||
<%end%>
|
||||
<% end %>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
<div style="text-align: center">
|
||||
<%= paginate(@posts)%>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="right controls"><p><%= link_to "Back to Forum", forum_path(@topic.forum) %></p></div>
|
||||
|
||||
Reference in New Issue
Block a user