Add hidden setting to puzzles

#19
This commit is contained in:
sto
2025-12-04 11:35:41 +01:00
parent a2a8a9fcef
commit 51e55f0828
11 changed files with 36 additions and 10 deletions

View File

@@ -59,6 +59,6 @@ class PuzzlesController < ApplicationController
end
def puzzle_params
params.expect(puzzle: [ :brand, :name, :image, :pieces ])
params.expect(puzzle: [ :brand, :name, :image, :pieces, :hidden ])
end
end