X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/e74273d496b05c4c951c88195b76cdf505309425..f8ad4c79a4c1880370a035be0c0286a9b4285a69:/app/controllers/relations_controller.rb diff --git a/app/controllers/relations_controller.rb b/app/controllers/relations_controller.rb index 06ee785f0..9199c9e4a 100644 --- a/app/controllers/relations_controller.rb +++ b/app/controllers/relations_controller.rb @@ -2,7 +2,6 @@ class RelationsController < ElementsController def show @type = "relation" @feature = Relation.preload(:relation_tags, :containing_relation_members, :changeset => [:changeset_tags, :user], :relation_members => :member).find(params[:id]) - render "browse/feature" rescue ActiveRecord::RecordNotFound render "browse/not_found", :status => :not_found end