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