Use note.closed? in a consistent way

This commit is contained in:
Tom Hughes 2013-06-11 18:26:40 +01:00
parent 1d7719e01c
commit 5efe07f164
5 changed files with 5 additions and 5 deletions

View file

@ -17,7 +17,7 @@ xml.wpt("lon" => note.lon, "lat" => note.lat) do
xml.date_created note.created_at
xml.status note.status
if note.status == "closed"
if note.closed?
xml.date_closed note.closed_at
end
end