]> git.openstreetmap.org Git - rails.git/blobdiff - lib/bounding_box.rb
Add a route for '/blocks/new/:display_name' so links will be
[rails.git] / lib / bounding_box.rb
index d943768ad67e489f1f74199dd8c9b328947a7914..30bbebb8d928ed056f591a5361b56c613363248e 100644 (file)
@@ -4,7 +4,7 @@ class BoundingBox
   end
 
   def self.from_s(s)
-    BoundingBox.new(s.split(/,/))
+    BoundingBox.new(*s.split(/,/))
   end
 
   def min_lon