Add updated_at to pages
This commit is contained in:
@@ -12,6 +12,10 @@ module Main
|
||||
page.name
|
||||
end
|
||||
|
||||
expose :page_updated_at do |page|
|
||||
page.updated_at&.strftime("%m/%d/%Y")
|
||||
end
|
||||
|
||||
private_expose :page do |slug:|
|
||||
page_repo.fetch!(slug: slug)
|
||||
end
|
||||
|
Reference in New Issue
Block a user