Fixed Action prefix on routable middlewares

This commit is contained in:
Alejandro Celaya
2016-07-27 20:22:50 +02:00
parent a3554db1c3
commit 36259588db
12 changed files with 25 additions and 29 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
<?php
use Shlinkio\Shlink\Core\Action\RedirectMiddleware;
use Shlinkio\Shlink\Core\Action\RedirectAction;
return [
@@ -7,7 +7,7 @@ return [
[
'name' => 'long-url-redirect',
'path' => '/{shortCode}',
'middleware' => RedirectMiddleware::class,
'middleware' => RedirectAction::class,
'allowed_methods' => ['GET'],
],
],