Skip to content
This repository has been archived by the owner on Jan 21, 2020. It is now read-only.

Commit

Permalink
Merge 8c31bd9 into acff7d2
Browse files Browse the repository at this point in the history
  • Loading branch information
knoxzin1 committed Mar 8, 2017
2 parents acff7d2 + 8c31bd9 commit 411e9e8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/GenerateProgrammaticPipelineFromConfig/Generator.php
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,9 @@ class Generator

const TEMPLATE_ROUTED_METHOD_WITH_NAME = '$app->%s(\'%s\', %s, \'%s\')';

const TEMPLATE_ROUTED_NO_METHOD_NO_NAME = '$app->route(\'%s\', %s, \\Zend\\Expressive\\Router\\Route::HTTP_METHOD_ANY)';
const TEMPLATE_ROUTED_NO_METHOD_NO_NAME = '$app->route(\'%s\', %s, null)';

const TEMPLATE_ROUTED_NO_METHOD_WITH_NAME = '$app->route(\'%s\', %s, \\Zend\\Expressive\\Router\\Route::HTTP_METHOD_ANY, \'%s\')';
const TEMPLATE_ROUTED_NO_METHOD_WITH_NAME = '$app->route(\'%s\', %s, null, \'%s\')';

const TEMPLATE_ROUTED_METHODS_NO_NAME = '$app->route(\'%s\', %s, %s)';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
'Api\\Middleware\\Negotiation',
'Api\\Middleware\\Validation',
'Api\\Action\\PostAction',
], \Zend\Expressive\Router\Route::HTTP_METHOD_ANY, 'api.rest.post')
], null, 'api.rest.post')
->setOptions([
'sort' => 'updated',
'order' => 'desc',
Expand Down

0 comments on commit 411e9e8

Please sign in to comment.