Add brand to puzzles

This commit is contained in:
sto
2025-03-20 08:59:31 +01:00
parent 5339a864c0
commit 658c50fd04
6 changed files with 15 additions and 3 deletions

View File

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