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

Version Path
radiant-forum-extension-2.1.4 app/controllers/topics_controller.rb
radiant-forum-extension-2.1.3 app/controllers/topics_controller.rb
radiant-forum-extension-2.1.2 app/controllers/topics_controller.rb
radiant-forum-extension-2.1.1 app/controllers/topics_controller.rb
radiant-forum-extension-2.0.9 app/controllers/topics_controller.rb
radiant-forum-extension-2.0.8 app/controllers/topics_controller.rb
radiant-forum-extension-2.0.7 app/controllers/topics_controller.rb
radiant-forum-extension-2.0.6 app/controllers/topics_controller.rb
radiant-forum-extension-2.0.5 app/controllers/topics_controller.rb
radiant-forum-extension-2.0.4 app/controllers/topics_controller.rb
radiant-forum-extension-2.0.3 app/controllers/topics_controller.rb
radiant-forum-extension-2.0.2 app/controllers/topics_controller.rb
radiant-forum-extension-2.0.1 app/controllers/topics_controller.rb
radiant-forum-extension-2.0.0 app/controllers/topics_controller.rb