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 <mitchell...@gmail.com>
Authored: Fri Oct 14 11:44:36 2016 -0600
Committer: Jeremy Mitchell <mitchell...@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 )

Reply via email to