动态内容调整
This commit is contained in:
parent
22a83bee0e
commit
472c6acf2b
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue