X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/d951621c4488c58ec6caf12daf81a2b048fd40b1..2731e7244ac554c4a17f69347851f8f829cd1caa:/app/controllers/application_controller.rb diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index d0898bf5e..07b23ce21 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -397,7 +397,7 @@ class ApplicationController < ActionController::Base referer = nil end - referer.to_s + referer&.to_s end def scope_enabled?(scope)