diff --git a/app/controllers/maps_controller.rb b/app/controllers/maps_controller.rb index d45c1432..2bb830db 100644 --- a/app/controllers/maps_controller.rb +++ b/app/controllers/maps_controller.rb @@ -1,4 +1,5 @@ class MapsController < ApplicationController + before_action :require_user, only: [:create, :update, :screenshot, :destroy] after_action :verify_authorized, except: [:activemaps, :featuredmaps, :mymaps, :usermaps] after_action :verify_policy_scoped, only: [:activemaps, :featuredmaps, :mymaps, :usermaps]