X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/e74273d496b05c4c951c88195b76cdf505309425..23488f202877621ed27e74826848d5a4d518d867:/app/controllers/nodes_controller.rb diff --git a/app/controllers/nodes_controller.rb b/app/controllers/nodes_controller.rb index 7469b8a86..0ef07dbbf 100644 --- a/app/controllers/nodes_controller.rb +++ b/app/controllers/nodes_controller.rb @@ -2,7 +2,6 @@ class NodesController < ElementsController def show @type = "node" @feature = Node.preload(:node_tags, :containing_relation_members, :changeset => [:changeset_tags, :user], :ways => :way_tags).find(params[:id]) - render "browse/feature" rescue ActiveRecord::RecordNotFound render "browse/not_found", :status => :not_found end