Skip to content

Commit

Permalink
Nail down 'substitute' action.
Browse files Browse the repository at this point in the history
  • Loading branch information
dillchuk committed Sep 13, 2017
1 parent d375707 commit a761eec
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions config/module.config.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,17 +39,15 @@
'route' => '/admin/user',
'defaults' => [
'controller' => Controller\Substitute::class,
'action' => 'substitute',
],
],
'may_terminate' => false,
'child_routes' => [
'substitute' => [
'type' => Segment::class,
'options' => [
'route' => '/[:action]/:user',
'constraints' => [
'action' => 'substitute'
],
'route' => '/substitute/:user',
],
],
'unsubstitute' => [
Expand Down

0 comments on commit a761eec

Please sign in to comment.