From a3097c2752f6fbdb676cf63a00046917fa8a529a Mon Sep 17 00:00:00 2001 From: cxt Date: Fri, 8 Apr 2016 11:59:13 +0800 Subject: [PATCH] =?UTF-8?q?truncate=E5=87=BD=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/models/mailer.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/mailer.rb b/app/models/mailer.rb index dd8f625c4..a95811bb5 100644 --- a/app/models/mailer.rb +++ b/app/models/mailer.rb @@ -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:{