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

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