From 12e22b32e6023e06769761788738cd6dc5a9cea3 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Mon, 23 Jul 2018 15:54:14 +0300 Subject: Change: allow projects, pipelines, etc, have a foo/bar/baz syntax --- ick2/projectapi.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'ick2/projectapi.py') diff --git a/ick2/projectapi.py b/ick2/projectapi.py index f351e8d..90197ae 100644 --- a/ick2/projectapi.py +++ b/ick2/projectapi.py @@ -39,9 +39,7 @@ class ProjectAPI(ick2.ResourceApiBase): return super().get_routes(path) + self.get_status_routes(path) def get_status_routes(self, path): # pragma: no cover - all_statuses_path = '/status' - status_path = '{}//status'.format(path) - trigger_path = '{}//+trigger'.format(path) + trigger_path = '{}//+trigger'.format(path) return [ { 'needs-authorization': False, -- cgit v1.2.1