diff --git a/app/controllers/superadmin/superadmin_controller.rb b/app/controllers/superadmin/superadmin_controller.rb index 22cc8fdde050..e1405559475e 100644 --- a/app/controllers/superadmin/superadmin_controller.rb +++ b/app/controllers/superadmin/superadmin_controller.rb @@ -1,4 +1,6 @@ class Superadmin::SuperadminController < ActionController::Base + include Carto::ControllerHelper + before_filter :authenticate rescue_from StandardError, with: :rescue_from_superadmin_error