10 Commits

Author SHA1 Message Date
Rei
5990ae2f26 mark all notification as read after index action 2014-03-25 13:09:24 +08:00
Rei
31f47318ee Use includes avoid N+1 query 2014-03-17 22:09:01 +08:00
Rei
4532ef462d Remove asert_login_required 2014-02-10 15:26:53 +08:00
Rei
e1af60ea50 Fast error, do not rescue from notification miss template error 2014-02-06 14:33:37 +08:00
Rei
bc93ec049b Rename login helper
- require_logined to login_required
- logined? to login?
2014-01-24 19:53:13 +08:00
Rei
96c5fdcc23 Clear notificatons action 2014-01-23 22:09:14 +08:00
Rei
90dbfc3ea4 Notification mark all as read action 2014-01-23 21:19:32 +08:00
Rei
a56692f92a Update notifications read status when visit notifications index 2014-01-22 21:39:03 +08:00
Rei
f057e2058a Notification destroy action 2014-01-22 19:37:18 +08:00
Rei
1deb97c3e6 Notifcation index page 2014-01-22 13:43:00 +08:00