summaryrefslogtreecommitdiffstats
path: root/core/routes.php
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2016-04-18 12:14:07 +0200
committerLukas Reschke <lukas@owncloud.com>2016-04-18 21:21:52 +0200
commit8222ad515706d62cceb14428c959b83a69ccbc8b (patch)
tree1fb2a2a86d2eaebca7e48366a7b3e50d3f3dbe7f /core/routes.php
parent51975d360a93daba3b2681136a77b8d7078719e9 (diff)
downloadnextcloud-server-8222ad515706d62cceb14428c959b83a69ccbc8b.tar.gz
nextcloud-server-8222ad515706d62cceb14428c959b83a69ccbc8b.zip
Move logout to controller
Testable code. Yay.
Diffstat (limited to 'core/routes.php')
-rw-r--r--core/routes.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/routes.php b/core/routes.php
index bcad9d0dad3..2b7a19f7d86 100644
--- a/core/routes.php
+++ b/core/routes.php
@@ -43,6 +43,7 @@ $application->registerRoutes($this, [
['name' => 'avatar#getTmpAvatar', 'url' => '/avatar/tmp', 'verb' => 'GET'],
['name' => 'avatar#postAvatar', 'url' => '/avatar/', 'verb' => 'POST'],
['name' => 'login#showLoginForm', 'url' => '/login', 'verb' => 'GET'],
+ ['name' => 'login#logout', 'url' => '/logout', 'verb' => 'GET'],
]
]);