From: Sven Arnold Date: Sun, 12 Apr 2009 19:17:08 +0000 (+0200) Subject: added auto timestamp X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=efd48714aac9d9103a078f459dd5c5e9b8420c9b;p=Grails-CMS.git added auto timestamp --- diff --git a/grails-app/domain/News.groovy b/grails-app/domain/News.groovy index c59f9af..8907c8b 100644 --- a/grails-app/domain/News.groovy +++ b/grails-app/domain/News.groovy @@ -1,8 +1,11 @@ class News { Date dateCreated + Date lastUpdated + + String title String content - static constraints = { - } + static constraints = { + } }