Browse Source

fixed 消息模板配置type

pull/313/head
“xxq250” 3 years ago
parent
commit
4918fda2e1
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/models/message_template.rb

+ 1
- 1
app/models/message_template.rb View File

@@ -114,6 +114,6 @@ class MessageTemplate < ApplicationRecord
end

def simple_type
self.type.split("::")[-1]
self.type.to_s.split("::")[-1]
end
end

Loading…
Cancel
Save