This commit is contained in:
parent
fb64b47ba6
commit
f7a6798b73
|
@ -105,9 +105,10 @@ module WelcomeHelper
|
||||||
searchStudent(project).count
|
searchStudent(project).count
|
||||||
end
|
end
|
||||||
def find_new_forum_topics limit=9
|
def find_new_forum_topics limit=9
|
||||||
activity = Redmine::Activity::Fetcher.new(nil)
|
Memo.where('memos.parent_id IS NULL').reorder('ORDER BY memos.created_at DESC').limit(limit)
|
||||||
activity.scope=['memos']
|
# activity = Redmine::Activity::Fetcher.new(nil)
|
||||||
activity.events_welcome(nil, nil, {:limit => limit})
|
# activity.scope=['memos']
|
||||||
|
# activity.events_welcome(nil, nil, {:limit => limit})
|
||||||
end
|
end
|
||||||
|
|
||||||
private
|
private
|
||||||
|
|
Loading…
Reference in New Issue