Sha256: ff13bb952a324b62c0575105d7c6c8ff7d8a98ab4cdb23a9e3ca8e25e2376bbd
Contents?: true
Size: 399 Bytes
Versions: 1
Compression:
Stored size: 399 Bytes
Contents
module Formol class ForumsController < ApplicationController respond_to :html def show formol_authorize!(current_formol_user, :read_forum) @topics = forum.topics.ready_for_listing.page(params[:page]).per_page(per_page) respond_with(forum) end protected def forum @forum ||= Formol::Forum.find(params[:id]) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
formol-0.0.4 | app/controllers/formol/forums_controller.rb |