Expose page's SHA id in Page view. Closes 1222.

This commit is contained in:
Dawa Ometto
2017-04-12 19:42:26 +02:00
parent f9b8b4e8d3
commit 39aa290ea6
+4
View File
@@ -11,5 +11,9 @@ module Precious
def format
@page.format.to_s
end
def id
@page.sha
end
end
end