Expose page's SHA id in Page view. Closes 1222.
This commit is contained in:
@@ -11,5 +11,9 @@ module Precious
|
|||||||
def format
|
def format
|
||||||
@page.format.to_s
|
@page.format.to_s
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def id
|
||||||
|
@page.sha
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user