suite
This commit is contained in:
parent
b1eba85bb0
commit
2016d01d51
@ -23,7 +23,7 @@ class Forum::ForumTopicsController < ApplicationController
|
||||
end
|
||||
|
||||
def index
|
||||
@forum_topics = ForumTopic.where(:enabled => true).all
|
||||
@forum_topics = ForumTopic.where(:enabled => true)
|
||||
|
||||
per_page = (params[:per_page] and params[:per_page] != "") ? params[:per_page] : 50
|
||||
page = (params[:page] and params[:page] != "") ? params[:page] : 1
|
||||
|
Loading…
x
Reference in New Issue
Block a user