Use note.closed? in a consistent way
This commit is contained in:
parent
1d7719e01c
commit
5efe07f164
5 changed files with 5 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue