From 04753006de790f23bf7850a1e231042b242cf049 Mon Sep 17 00:00:00 2001 From: Kat Date: Wed, 17 May 2023 15:07:39 +0100 Subject: [PATCH] remove redundant return --- 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 3df69d429..f978a3b10 100644 --- a/app/controllers/locations_controller.rb +++ b/app/controllers/locations_controller.rb @@ -227,7 +227,7 @@ private def authenticate_action! unless user_allowed_action? - render_not_found and return + render_not_found end end