mirror of
https://github.com/shlinkio/shlink.git
synced 2026-08-13 06:24:44 -05:00
Defined abstract action which handles short codes generations
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user