clean default widget

This commit is contained in:
Fu Matthew committed 2013-01-07 12:09:36 +08:00
1 parent 5efbe07fbe
commit abbecfbe2f
4 files changed
+35 -16

No files matched your search

@@ -77,11 +77,6 @@ class Bulletin
string :bulletin_category_id
end
def postdate_with_format
self[:postdate].strftime("%m/%d/%Y")
end
def bulletin_category_with_title
self.bulletin_category.title
end
@@ -18,4 +18,4 @@ zh_tw:
default_widget:
bulletin_category_with_title: 分類
title: 標題
postdate_with_format: 張貼日期
postdate: 張貼日期