]> git.openstreetmap.org Git - rails.git/blobdiff - lib/bounding_box.rb
Rework notes interface using OpenLayers and rails
[rails.git] / lib / bounding_box.rb
index d943768ad67e489f1f74199dd8c9b328947a7914..30bbebb8d928ed056f591a5361b56c613363248e 100644 (file)
@@ -4,7 +4,7 @@ class BoundingBox
   end
 
   def self.from_s(s)
   end
 
   def self.from_s(s)
-    BoundingBox.new(s.split(/,/))
+    BoundingBox.new(*s.split(/,/))
   end
 
   def min_lon
   end
 
   def min_lon