e27c0c5fa1
The public closed column was showing draft cards because it queried `@board.cards.closed` without a `.published` filter. This adds the missing `.published` scope to match the pattern used elsewhere in the public controllers. Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
6 lines
185 B
Ruby
6 lines
185 B
Ruby
class Public::Boards::Columns::ClosedsController < Public::BaseController
|
|
def show
|
|
set_page_and_extract_portion_from @board.cards.closed.published.recently_closed_first
|
|
end
|
|
end
|