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