Mercurial > kallithea
comparison rhodecode/controllers/admin/notifications.py @ 1818:cf51bbfb120e beta
auto white-space removal
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Thu, 29 Dec 2011 07:35:51 +0200 |
parents | 2aee0dc1784e |
children | 89efedac4e6c |
comparison
equal
deleted
inserted
replaced
1817:523b1011a625 | 1818:cf51bbfb120e |
---|---|
19 | 19 |
20 class NotificationsController(BaseController): | 20 class NotificationsController(BaseController): |
21 """REST Controller styled on the Atom Publishing Protocol""" | 21 """REST Controller styled on the Atom Publishing Protocol""" |
22 # To properly map this controller, ensure your config/routing.py | 22 # To properly map this controller, ensure your config/routing.py |
23 # file has a resource setup: | 23 # file has a resource setup: |
24 # map.resource('notification', 'notifications', controller='_admin/notifications', | 24 # map.resource('notification', 'notifications', controller='_admin/notifications', |
25 # path_prefix='/_admin', name_prefix='_admin_') | 25 # path_prefix='/_admin', name_prefix='_admin_') |
26 | 26 |
27 @LoginRequired() | 27 @LoginRequired() |
28 @NotAnonymous() | 28 @NotAnonymous() |
29 def __before__(self): | 29 def __before__(self): |