From 0f1fc77be3eb3177ffccdbe202876f4ffe4147cc Mon Sep 17 00:00:00 2001 From: Matthew Jones Date: Mon, 24 Mar 2014 11:48:04 -0400 Subject: [PATCH] Switch up the api end point for unified jobs --- awx/api/urls.py | 2 +- awx/api/views.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/awx/api/urls.py b/awx/api/urls.py index d4962b7ef6..3aabd0dc56 100644 --- a/awx/api/urls.py +++ b/awx/api/urls.py @@ -167,7 +167,7 @@ v1_urls = patterns('awx.api.views', url(r'^me/$', 'user_me_list'), url(r'^dashboard/$', 'dashboard_view'), url(r'^schedules/$', 'schedules_list'), - url(r'^unified_job_templates/$','unified_job_template_list'), + url(r'^unified_jobs/$','unified_jobs_list'), url(r'^organizations/', include(organization_urls)), url(r'^users/', include(user_urls)), url(r'^projects/', include(project_urls)), diff --git a/awx/api/views.py b/awx/api/views.py index 546ba0ca11..6ad4f1cd07 100644 --- a/awx/api/views.py +++ b/awx/api/views.py @@ -293,7 +293,7 @@ class SchedulesList(APIView): def post(self, request): return Response({}) -class UnifiedJobTemplateList(APIView): +class UnifiedJobsList(APIView): view_name = "Unified Job Templates"