Sha256: cfab62df67ed24ebdd900157826b811598099a6442c996519efc0cc89f15f545
Contents?: true
Size: 293 Bytes
Versions: 14
Compression:
Stored size: 293 Bytes
Contents
class TopicsController < ForumBaseController def index @topics = Topic.bydate.paginate(pagination_parameters) render_page_or_feed end def show @topic = Topic.find(params[:id]) @posts = @topic.replies.paginate(pagination_parameters) render_page_or_feed end end
Version data entries
14 entries across 14 versions & 1 rubygems