From 1d5e2fb8ad6038f5618125b149b47a39724947f0 Mon Sep 17 00:00:00 2001 From: natdeanlewissoftwire Date: Tue, 20 Sep 2022 14:33:08 +0100 Subject: [PATCH] refactor: spacing --- app/controllers/locations_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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