diff --git a/app/controllers/topics_controller.rb b/app/controllers/topics_controller.rb index 12afe73..14c43c3 100755 --- a/app/controllers/topics_controller.rb +++ b/app/controllers/topics_controller.rb @@ -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' => [ diff --git a/app/views/topics/show.html.erb b/app/views/topics/show.html.erb index d76a792..4fe454c 100755 --- a/app/views/topics/show.html.erb +++ b/app/views/topics/show.html.erb @@ -41,9 +41,9 @@ <%end%> <% end %> -
- <%= paginate(@posts)%> -
+
+ <%= paginate(@posts)%> +

<%= link_to "Back to Forum", forum_path(@topic.forum) %>