fixed 消息模板配置type
This commit is contained in:
parent
9ce7cdf0c3
commit
4918fda2e1
|
@ -114,6 +114,6 @@ class MessageTemplate < ApplicationRecord
|
|||
end
|
||||
|
||||
def simple_type
|
||||
self.type.split("::")[-1]
|
||||
self.type.to_s.split("::")[-1]
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue