Skip to content

Commit

Permalink
well obviously how would it work without remove_image param... [#92]
Browse files Browse the repository at this point in the history
  • Loading branch information
Anna Anks Nowak committed Mar 26, 2016
1 parent 323088f commit fa7f38e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/cars_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def destroy
private

def car_params
params.require(:car).permit(:registration_number, :model, :image)
params.require(:car).permit(:registration_number, :model, :image, :remove_image)
end

def car
Expand Down

0 comments on commit fa7f38e

Please sign in to comment.