welcome helper fetch new memos

exceptionHandle
yanxd 12 years ago
parent 25baf61185
commit 4f6cd0800a

@ -104,9 +104,10 @@ module WelcomeHelper
# or # or
searchStudent(project).count searchStudent(project).count
end end
#To do def find_new_forum_topics limit=9
def find_new_forum_topics activity = Redmine::Activity::Fetcher.new(nil)
activity.scope=['memos']
activity.events_welcome(nil, nil, {:limit => limit})
end end
private private

Loading…
Cancel
Save