bingo: default to the operational card
All checks were successful
Build and Deploy to Production / test (push) Successful in 28s
Build and Deploy to Production / build (push) Successful in 1m8s
Build and Deploy to Production / deploy (push) Successful in 41s

The card led with construction projects (Sber Balakovo at #1, MOS7,
MOS11, Yandex Vladimir-2), so the first thing visitors saw was not what
actually runs today. Make the operational-only card the bare URL and
move the full list to ?view=all. The variant is noindex with canonical
to the bare page, old ?view=operational links still land on the default,
and the admin dashboard tile follows the public default.

Assisted-by: Claude:opus-5
This commit is contained in:
Sergei Poljanski 2026-10-11 20:34:24 +04:00
commit 9ba108b6b0
Signed by: asxpi
GPG key ID: 4F8851660FA4121B
5 changed files with 23 additions and 15 deletions

View file

@ -162,7 +162,7 @@ class AsxpioWeb < Sinatra::Base
}
end
if can?('bingo', 'read')
board = Bingo::Board.load
board = Bingo::Board.load('operational') # same card as the public default
@bingo = {
cells: board.cells.size,
hit: board.hit.count(true),