diff --git a/app/controllers/locations_controller.rb b/app/controllers/locations_controller.rb index bf3bd5a63..54e63d2cd 100644 --- a/app/controllers/locations_controller.rb +++ b/app/controllers/locations_controller.rb @@ -79,7 +79,7 @@ class LocationsController < ApplicationController else redirect_to(scheme_check_answers_path(@scheme, anchor: "locations")) end - end + end else render :edit, status: :unprocessable_entity end