]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/node_controller.rb
more way bits
[rails.git] / app / controllers / node_controller.rb
index ae0d00c75c5dc6901bb2bf57bce54779f07cc96b..428d4b9c2005541846a781346856a9b42bf987e3 100644 (file)
@@ -28,7 +28,7 @@ class NodeController < ApplicationController
 
   def rest
     unless Node.exists?(params[:id])
-      render :nothing => true, :status => 400
+      render :nothing => true, :status => 404
       return
     end