...
This commit is contained in:
parent
dbb6c9f54c
commit
0ca913bc83
|
@ -1,7 +1,6 @@
|
||||||
module ActivityNotifysHelper
|
module ActivityNotifysHelper
|
||||||
def get_new_notify_count(container,type)
|
def get_new_notify_count(container,type)
|
||||||
logger.info('xxoo')
|
query = ActivityNotify.where('activity_container_id=? and activity_container_type=? and notify_to=? and is_read=0',container.id,type,User.current.id);
|
||||||
query = ActivityNotify.where('activity_container_id=? and activity_container_type=? and notify_to=?',container.id,type,User.current.id);
|
|
||||||
return query.count()
|
return query.count()
|
||||||
end
|
end
|
||||||
end
|
end
|
Loading…
Reference in New Issue