]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/api/changesets_controller.rb
Fix new rubocop warnings
[rails.git] / app / controllers / api / changesets_controller.rb
index 29a57570d154383dbbbf3381be8ba6a86508ea54..34627a1187acca98b026da44c4c3ce5ecc0e0428 100644 (file)
@@ -308,7 +308,7 @@ module Api
         # low, second is high - same as with bounding boxes.
 
         # check that we actually have 2 elements in the array
-        times = time.split(/,/)
+        times = time.split(",")
         raise OSM::APIBadUserInput, "bad time range" if times.size != 2
 
         from, to = times.collect { |t| Time.parse(t) }