Sha256: 65e0d3ef989be2eaa9cbb2557afc391d8adbf7d509bac6ba4cb96bb1af52403b

Contents?: true

Size: 226 Bytes

Versions: 3

Compression:

Stored size: 226 Bytes

Contents

module Thredded
  class MessageboardsController < Thredded::ApplicationController
    before_filter :messageboard, only: :show

    def index
      @messageboards = Messageboard.where(closed: false).decorate
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
thredded-0.0.7 app/controllers/thredded/messageboards_controller.rb
thredded-0.0.6 app/controllers/thredded/messageboards_controller.rb
thredded-0.0.5 app/controllers/thredded/messageboards_controller.rb