Properly extract and display title for all formats.

This commit is contained in:
Tom Preston-Werner
2010-07-23 16:45:16 -07:00
parent bd3721d4d3
commit 5ce149715f
5 changed files with 74 additions and 23 deletions
+4
View File
@@ -11,6 +11,10 @@ module Precious
"A Page"
end
def format
@page.format.to_s
end
def author
@page.version.author.name
end