]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/segment_controller.rb
Allow access to all zoom levels again.
[rails.git] / app / controllers / segment_controller.rb
index c6d4ad611a7129288a8d831f76644b27f1805be2..a75ff911d703255830be5c2e30707076ee3fa054 100644 (file)
@@ -22,6 +22,7 @@ class SegmentController < ApplicationController
         
         unless segment.preconditions_ok? # are the nodes visible?
           render :nothing => true, :status => HTTP_PRECONDITION_FAILED
+          return
         end
 
         if segment.save_with_history