动态内容调整
This commit is contained in:
parent
fce8d85380
commit
6d732ff5ff
|
@ -122,13 +122,12 @@ class WechatsController < ActionController::Base
|
|||
if uw && uw.user
|
||||
|
||||
ua = user_activity(uw.user)
|
||||
|
||||
logo = "trustie_logo2.png"
|
||||
i = 0
|
||||
news =[]
|
||||
ua.each do |ua|
|
||||
ua.each do |a|
|
||||
i += 1
|
||||
activity = process_activity(ua)
|
||||
activity = process_activity(a)
|
||||
if activity
|
||||
news << {title: activity[0],
|
||||
content: activity[1],
|
||||
|
|
Loading…
Reference in New Issue