mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-03 03:40:49 +08:00
fixed 消息模板配置type
This commit is contained in:
@@ -114,6 +114,6 @@ class MessageTemplate < ApplicationRecord
|
||||
end
|
||||
|
||||
def simple_type
|
||||
self.type.split("::")[-1]
|
||||
self.type.to_s.split("::")[-1]
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user