]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/old_nodes_controller.rb
Update documentation to avoid erb_lint deprecations
[rails.git] / app / controllers / old_nodes_controller.rb
index 288322eea4155e40947ffe7902b9f3c0d593e3e6..3b187e4abff31d2d3c74574b9839073777a5b25d 100644 (file)
@@ -10,6 +10,6 @@ class OldNodesController < OldElementsController
     @type = "node"
     @feature = OldNode.preload(:old_tags, :changeset => [:changeset_tags, :user]).find([params[:id], params[:version]])
   rescue ActiveRecord::RecordNotFound
-    render :action => "not_found", :status => :not_found
+    render "browse/not_found", :status => :not_found
   end
 end