Defined abstract action which handles short codes generations

This commit is contained in:
Alejandro Celaya
2018-05-01 19:35:12 +02:00
parent 2f5290b9d3
commit e5e1aa2ff4
6 changed files with 198 additions and 88 deletions
+1 -6
View File
@@ -10,12 +10,7 @@ return [
Action\AuthenticateAction::getRouteDef(),
// Short codes
[
'name' => Action\CreateShortcodeAction::class,
'path' => '/short-codes',
'middleware' => Action\CreateShortcodeAction::class,
'allowed_methods' => [RequestMethod::METHOD_POST],
],
Action\CreateShortcodeAction::getRouteDef(),
// [
// 'name' => Action\CreateShortcodeAction::class,
// 'path' => '/short-codes',