From: Shaun McDonald Date: Mon, 13 Oct 2008 17:05:52 +0000 (+0000) Subject: now you will actually save the changeset on updating ways. Showing the changeset... X-Git-Tag: live~7601^2~271 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/9e1946b2837abe146777773177f4c48ffde8c06f now you will actually save the changeset on updating ways. Showing the changeset in the data browser detail. --- diff --git a/app/models/way.rb b/app/models/way.rb index 341bc6e3e..f26d7658b 100644 --- a/app/models/way.rb +++ b/app/models/way.rb @@ -212,7 +212,7 @@ class Way < ActiveRecord::Base if !new_way.preconditions_ok? raise OSM::APIPreconditionFailedError.new end - self.changeset_id = changeset_id + self.changeset_id = new_way.changeset_id self.tags = new_way.tags self.nds = new_way.nds self.visible = true diff --git a/app/views/browse/_common_details.rhtml b/app/views/browse/_common_details.rhtml index d7b340e9d..968594bb6 100644 --- a/app/views/browse/_common_details.rhtml +++ b/app/views/browse/_common_details.rhtml @@ -10,6 +10,11 @@ <% end %> + + In changeset: + <%= common_details.changeset_id %> + Tags: