truncate函数

chenlw_dev
cxt 9 years ago
parent f62b393d7d
commit a3097c2752

@ -1142,7 +1142,7 @@ class Mailer < ActionMailer::Base
color:"#173177"
},
keyword3:{
value:h(truncate(" - #{key3}", length:50, omission: '...')),
value:h(truncate(key3, :length=>50, :omission=> '...')),
color:"#173177"
},
remark:{

Loading…
Cancel
Save