Add brand to puzzles
This commit is contained in:
@@ -53,6 +53,6 @@ class PuzzlesController < ApplicationController
|
||||
end
|
||||
|
||||
def puzzle_params
|
||||
params.expect(puzzle: [ :name, :image ])
|
||||
params.expect(puzzle: [ :brand, :name, :image ])
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user