def list_unread(): notifications = Notifications('list_unread') return notifications.render("app/notification/list_unread")
def list_unread(): notifications = Notifications() notifications.list_unread(session.auth.user.id) return notifications.render("app/notification/list_unread")
def list_latest(): notifications = Notifications('list_latest') return notifications.render("app/notification/list_latest")
def list_latest(): notifications = Notifications() notifications.list_latest(session.auth.user.id) return notifications.render("app/notification/list_latest")