diff --git a/app/controllers/communities_controller.rb b/app/controllers/communities_controller.rb index e4421281f..b8d691aa7 100644 --- a/app/controllers/communities_controller.rb +++ b/app/controllers/communities_controller.rb @@ -14,6 +14,6 @@ class CommunitiesController < ApplicationController end def load_topics - @topics = @community.topics + @topics = @community.topics.page(params[:page]) end end diff --git a/app/views/communities/show.html.erb b/app/views/communities/show.html.erb index 33eaf47d4..ab7692f3b 100644 --- a/app/views/communities/show.html.erb +++ b/app/views/communities/show.html.erb @@ -11,8 +11,9 @@