diff --git a/app/controllers/items_controller.rb b/app/controllers/items_controller.rb index ee7454b20..43384d85d 100644 --- a/app/controllers/items_controller.rb +++ b/app/controllers/items_controller.rb @@ -124,7 +124,7 @@ class ItemsController < ApplicationController flash[:notice] = "\"#{@item.name}\" successfully saved!" redirect_to @item else - render action: "edit", layout: "application" + render action: "edit", layout: "application", status: :bad_request end end