lib/brief/model/serializers.rb in brief-1.8.1 vs lib/brief/model/serializers.rb in brief-1.8.2
- old
+ new
@@ -16,9 +16,10 @@
path: path.to_s,
type: type,
group: type.to_s.pluralize,
title: document_title,
actions: self.class.defined_actions,
+ updated_at: File.mtime(path).to_i,
urls: {
view_content_url: "/view/content/#{ doc_path }",
view_rendered_url: "/view/rendered/#{ doc_path }",
view_details_url: "/view/details/#{ doc_path }",
update_url: "/update/#{ doc_path }",