Prevent indexing of old versions of a page (fixes #768)

This commit is contained in:
zorun
2013-11-22 12:49:42 +01:00
parent d5e9183877
commit 7a0d4919b0
3 changed files with 6 additions and 0 deletions
+4
View File
@@ -35,6 +35,10 @@ module Precious
first.authored_date.strftime(DATE_FORMAT)
end
def noindex
@version ? true : false
end
def editable
@editable
end