Remove edit button on preview pages

This commit is contained in:
Arran Cudbard-Bell
2011-05-26 21:35:34 -07:00
parent 748d76dff1
commit 83d6cae53f
3 changed files with 13 additions and 4 deletions
+4
View File
@@ -18,6 +18,10 @@ module Precious
def date
@page.version.authored_date.strftime("%Y-%m-%d %H:%M:%S")
end
def editable
@editable
end
def has_footer
@footer = (@page.footer || false) if @footer.nil?