]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/application_controller.rb
Add extra user transitions needed by the administrators
[rails.git] / app / controllers / application_controller.rb
index d0898bf5e4f1b5fa098128c851c703da096c4b86..07b23ce21c814561c8266cff403a46874bb4cbb8 100644 (file)
@@ -397,7 +397,7 @@ class ApplicationController < ActionController::Base
       referer = nil
     end
 
-    referer.to_s
+    referer&.to_s
   end
 
   def scope_enabled?(scope)