Skip to content

Commit ad3e741

Browse files
committed
- Add updated_at in PageView#json
- Remove lizard-island from broad-horizons
1 parent 1ceee0c commit ad3e741

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

issues/broad-horizons/issue.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,4 @@ paths:
1717
- flinders-range
1818
- outback-tours
1919
- luxe-hotel
20-
- lizard-island
2120
- getting-there

lib/issue/page_view.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,7 @@ def json
185185
hash['id'] = hash.delete('_id')
186186
end
187187

188+
hash['updated_at'] = page.updated_at.to_i.to_s
188189
hash['parentTitle'] = page.parent.title if page.parent
189190

190191
#hash["cover_url"] = asset_path(hash["cover_url"])

0 commit comments

Comments
 (0)