You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficcontrol.apache.org by mi...@apache.org on 2016/10/17 15:34:53 UTC

[30/42] incubator-trafficcontrol git commit: adds back route that got deleted

adds back route that got deleted


Project: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/commit/1afcb22b
Tree: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/tree/1afcb22b
Diff: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/diff/1afcb22b

Branch: refs/heads/psql
Commit: 1afcb22b4c5ed408be2d3f4912d32224118cd899
Parents: 2699410
Author: Jeremy Mitchell <mi...@gmail.com>
Authored: Fri Oct 14 11:44:36 2016 -0600
Committer: Jeremy Mitchell <mi...@gmail.com>
Committed: Fri Oct 14 11:44:36 2016 -0600

----------------------------------------------------------------------
 traffic_ops/app/lib/TrafficOpsRoutes.pm | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/1afcb22b/traffic_ops/app/lib/TrafficOpsRoutes.pm
----------------------------------------------------------------------
diff --git a/traffic_ops/app/lib/TrafficOpsRoutes.pm b/traffic_ops/app/lib/TrafficOpsRoutes.pm
index 5f7d34d..a6d5c89 100644
--- a/traffic_ops/app/lib/TrafficOpsRoutes.pm
+++ b/traffic_ops/app/lib/TrafficOpsRoutes.pm
@@ -578,6 +578,7 @@ sub api_routes {
 	# parameters for a profile
 	$r->get( "/api/$version/profiles/:id/parameters" => [ id => qr/\d+/ ] )->over( authenticated => 1 )->to( 'Parameter#get_profile_params', namespace => $namespace );
 	$r->get("/api/$version/profiles/name/:name/parameters")->over( authenticated => 1 )->to( 'Parameter#get_profile_params', namespace => $namespace );
+	$r->get( "/api/$version/parameters/profile/:name")->over( authenticated => 1 )->to( 'Parameter#get_profile_params', namespace => $namespace );
 	$r->post("/api/$version/profiles/name/:name/parameters")->over( authenticated => 1 )
 		->to( 'ProfileParameter#create_param_for_profile_name', namespace => $namespace );
 	$r->post("/api/$version/profiles/:id/parameters")->over( authenticated => 1 )