Skip to content

Commit

Permalink
regex route removed
Browse files Browse the repository at this point in the history
  • Loading branch information
hkulekci committed Dec 5, 2015
1 parent d4cd09d commit 9096bf1
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions module/Api/config/module.config.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,9 @@
), // end of api.rest.user
'oauth' => array(
'options' => array(
'spec' => '%oauth%',
'regex' => '(?P<oauth>(/oauth))',
'route' => '/oauth',
),
'type' => 'regex', // regex type will be remove.
'type' => 'Segment', // regex type will be remove.
'child_routes' => array(
'token' => array(
'type' => 'Zend\Mvc\Router\Http\Literal',
Expand Down Expand Up @@ -128,6 +127,10 @@
'token' => [
'POST' => false,
],
'authorize' => [
'GET' => false,
'POST' => false,
],
],
],
],
Expand Down

0 comments on commit 9096bf1

Please sign in to comment.