X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/e74273d496b05c4c951c88195b76cdf505309425..b7c171d2736140cfc8bbd30ae4911c8e52f5f07a:/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