Sha256: 96d80fb21fbdb83eaabb81db5f0bb7236fb00fc2f48a59e375826062e2c81df7
Contents?: true
Size: 280 Bytes
Versions: 14
Compression:
Stored size: 280 Bytes
Contents
class ForumsController < ForumBaseController def index @forums = Forum.all.paginate(pagination_parameters) end def show @forum = Forum.find(params[:id]) @topics = @forum.topics.stickyfirst.paginate(pagination_parameters) render_page_or_feed end end
Version data entries
14 entries across 14 versions & 1 rubygems