equal
deleted
inserted
replaced
268 |
268 |
269 |
269 |
270 def getInviteAcceptedRedirect(entity, _): |
270 def getInviteAcceptedRedirect(entity, _): |
271 """Returns the redirect for accepting an invite. |
271 """Returns the redirect for accepting an invite. |
272 """ |
272 """ |
273 |
273 # TODO: redesign this redirect to use ROLE_VIEWS from the Role View |
274 return '/%s/accept_invite/%s/%s' % ( |
274 return '/%s/accept_invite/%s/%s' % ( |
275 entity.role, entity.scope_path, entity.link_id) |
275 entity.role, entity.scope_path, entity.link_id) |
276 |
276 |
277 |
277 |
278 def getInviteProcessRedirect(entity, _): |
278 def getInviteProcessRedirect(entity, _): |