Remove created_at from WikiPage
This commit is contained in:
parent
89494036f0
commit
ae31c9cf06
|
@ -151,12 +151,6 @@ class WikiPage
|
|||
last_version&.sha
|
||||
end
|
||||
|
||||
# Returns the Date that this latest version was
|
||||
# created on.
|
||||
def created_at
|
||||
@page.version.date
|
||||
end
|
||||
|
||||
# Returns boolean True or False if this instance
|
||||
# is an old version of the page.
|
||||
def historical?
|
||||
|
|
Loading…
Reference in New Issue