From 546e44d9243e558fdb1f8e6b9c6c9c888382c9b9 Mon Sep 17 00:00:00 2001 From: natdeanlewissoftwire Date: Tue, 29 Nov 2022 17:59:04 +0000 Subject: [PATCH] refactor: remove redundant create --- 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 9b13078ab..f9f987617 100644 --- a/app/controllers/locations_controller.rb +++ b/app/controllers/locations_controller.rb @@ -2,7 +2,7 @@ class LocationsController < ApplicationController include Pagy::Backend before_action :authenticate_user! before_action :authenticate_scope! - before_action :find_location, except: %i[new create index] + before_action :find_location, except: %i[new index] before_action :find_scheme before_action :authenticate_action!