summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRicky Zhou <ricky@fedoraproject.org>2008-03-14 01:28:39 (GMT)
committerRicky Zhou <ricky@fedoraproject.org>2008-03-14 01:28:39 (GMT)
commit6cf5c25e1eb4edab799f0cd58c6353f9422e9345 (patch)
treecd1eae71888fc0e394131a1cabbc2a3a1e90eb52
parentb773e22cf478e9741f45d712ec990b16c9265fa6 (diff)
downloadfedora-infrastructure-6cf5c25e1eb4edab799f0cd58c6353f9422e9345.zip
fedora-infrastructure-6cf5c25e1eb4edab799f0cd58c6353f9422e9345.tar.gz
fedora-infrastructure-6cf5c25e1eb4edab799f0cd58c6353f9422e9345.tar.xz
Expose /group/view in json
-rw-r--r--fas/fas/group.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/fas/fas/group.py b/fas/fas/group.py
index bef1d75..5b820ea 100644
--- a/fas/fas/group.py
+++ b/fas/fas/group.py
@@ -120,7 +120,7 @@ class Group(controllers.Controller):
@identity.require(turbogears.identity.not_anonymous())
@validate(validators=GroupView())
@error_handler(error)
- @expose(template="fas.templates.group.view")
+ @expose(template="fas.templates.group.view", allow_json=True)
def view(self, groupname):
'''View group'''
username = turbogears.identity.current.user_name