动态内容调整

This commit is contained in:
guange 2016-01-20 23:29:22 +08:00
parent 22a83bee0e
commit 472c6acf2b
1 changed files with 2 additions and 2 deletions

View File

@ -144,7 +144,7 @@ class WechatsController < ActionController::Base
article.item title: "#{index} #{n[:title]}",
description: n[:content],
pic_url: n[:picurl],
url: 'http://www.baidu.com/'
url: n[:url]
end
else
openid = request[:FromUserName]
@ -213,7 +213,7 @@ class WechatsController < ActionController::Base
when 'Project'
case user_activity.act_type.to_s
when 'Issue'
[act.project.name.to_s+" | 项目问题", act.subject.to_s, project_issues_path(act.project), url_to_avatar(act.author)]
[act.project.name.to_s+" | 项目问题", act.subject.to_s, url_to_avatar(act.author),project_issues_url(act.project)]
end
end
end