|
a/ForgeDiscussion/forgediscussion/controllers/root.py |
|
b/ForgeDiscussion/forgediscussion/controllers/root.py |
|
... |
|
... |
146 |
id = unquote(id)
|
146 |
id = unquote(id)
|
147 |
return ForumController(id), remainder
|
147 |
return ForumController(id), remainder
|
148 |
else:
|
148 |
else:
|
149 |
raise exc.HTTPNotFound()
|
149 |
raise exc.HTTPNotFound()
|
150 |
|
150 |
|
151 |
# FIXME this code is not used, but it should be so we can do Forum-level subscriptions
|
|
|
152 |
@h.vardec
|
151 |
@h.vardec
|
153 |
@expose()
|
152 |
@expose()
|
154 |
@validate(W.forum_subscription_form)
|
153 |
@validate(W.forum_subscription_form)
|
155 |
def subscribe(self, **kw):
|
154 |
def subscribe(self, **kw):
|
156 |
require_authenticated()
|
155 |
require_authenticated()
|