summaryrefslogtreecommitdiff
path: root/app/common.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/common.php')
-rw-r--r--app/common.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/common.php b/app/common.php
index 186d0f85..29b2c54e 100644
--- a/app/common.php
+++ b/app/common.php
@@ -115,4 +115,8 @@ if (ENABLE_URL_REWRITE) {
// Ical routes
$container['router']->addRoute('ical/project/:token', 'ical', 'project', array('token'));
$container['router']->addRoute('ical/user/:token', 'ical', 'user', array('token'));
+
+ // Auth routes
+ $container['router']->addRoute('oauth/google', 'oauth', 'google');
+ $container['router']->addRoute('oauth/github', 'oauth', 'github');
}