def _postSendForReview(self, data): """POST handler for the mark as complete button.""" task_logic.sendForReview(data.task, data.ndb_profile) return data.redirect.id().to(url_names.GCI_VIEW_TASK)
def _postSendForReview(self): """POST handler for the mark as complete button. """ task_logic.sendForReview(self.data.task, self.data.profile) self.redirect.id().to('gci_view_task')