clean default widget
This commit is contained in:
1 parent
5793f0fe5d
commit
b71ebb3982
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: 張貼日期
|
||||
Reference in new issue
Block a user