Files
fizzy/app/controllers/public/boards/columns_controller.rb
T
2025-11-05 13:41:12 +01:00

17 lines
421 B
Ruby

class Public::Boards::ColumnsController < Public::BaseController
before_action :set_column
def show
set_page_and_extract_portion_from @column.cards.active.latest.with_golden_first
end
private
# Unlike the other public controllers, this is using params[:id] to fetch the column instead of the card
def set_card
end
def set_column
@column = @board.columns.find(params[:id])
end
end