]> git.openstreetmap.org Git - rails.git/blobdiff - lib/bounding_box.rb
Switch GPX MIME type detection to use marcel
[rails.git] / lib / bounding_box.rb
index 44375ae5beb85aca7b5ece0ad2f20423975194fd..3b366dc1ef5da4d8b7ea0be87f87da37141ada7b 100644 (file)
@@ -14,7 +14,7 @@ class BoundingBox
   end
 
   def self.from_s(s)
-    BoundingBox.new(*s.split(/,/)) if s.count(",") == 3
+    BoundingBox.new(*s.split(",")) if s.count(",") == 3
   end
 
   def self.from_bbox_params(params)