Expose /group/view in json
This commit is contained in:
parent
b773e22cf4
commit
6cf5c25e1e
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue