Browse Source

refactor: remove redundant create

pull/1034/head
natdeanlewissoftwire 4 years ago
parent
commit
546e44d924
  1. 2
      app/controllers/locations_controller.rb

2
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!

Loading…
Cancel
Save