From 552af58c7f730aec4e5dadd272750722ab8d9e17 Mon Sep 17 00:00:00 2001 From: Henrik Hautakoski Date: Tue, 12 Jun 2018 00:33:10 +0200 Subject: [PATCH] app/config/services.php: adding "activation-link" route. --- app/config/services.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/config/services.php b/app/config/services.php index 85a2866..c062c68 100644 --- a/app/config/services.php +++ b/app/config/services.php @@ -131,6 +131,11 @@ $di->setShared('router', function() { 'action' => 'settings', ))->setName('user-settings'); + $router->add('/act/{link}', array( + 'controller' => 'user', + 'action' => 'activationlink', + ))->setName('activation-link'); + return $router; });