aboutsummaryrefslogtreecommitdiffstats
path: root/apps/dav/appinfo
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2017-12-12 08:29:26 +0100
committerGitHub <noreply@github.com>2017-12-12 08:29:26 +0100
commitd98dea1eb139ae33dfce28f5c61b140518ef4d1d (patch)
tree6bd1527425761a5b9c6657874e573f9a4ae8a38d /apps/dav/appinfo
parente1740c92421d9f6e05210c1cd69811e429f88410 (diff)
parent2b51d84b98a5a44c2a42a8498164a35b6822e760 (diff)
downloadnextcloud-server-d98dea1eb139ae33dfce28f5c61b140518ef4d1d.tar.gz
nextcloud-server-d98dea1eb139ae33dfce28f5c61b140518ef4d1d.zip
Merge pull request #6884 from nextcloud/feature/3003/opt_out_of_birthday_calendar
Opt out of birthday calendar
Diffstat (limited to 'apps/dav/appinfo')
-rw-r--r--apps/dav/appinfo/routes.php29
1 files changed, 29 insertions, 0 deletions
diff --git a/apps/dav/appinfo/routes.php b/apps/dav/appinfo/routes.php
new file mode 100644
index 00000000000..e6785bfd4e6
--- /dev/null
+++ b/apps/dav/appinfo/routes.php
@@ -0,0 +1,29 @@
+<?php
+/**
+ * @copyright 2017, Georg Ehrke <oc.list@georgehrke.com>
+ *
+ * @author Georg Ehrke <oc.list@georgehrke.com>
+ *
+ * @license GNU AGPL version 3 or any later version
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
+
+return [
+ 'routes' => [
+ ['name' => 'birthday_calendar#enable', 'url' => '/enableBirthdayCalendar', 'verb' => 'POST'],
+ ['name' => 'birthday_calendar#disable', 'url' => '/disableBirthdayCalendar', 'verb' => 'POST'],
+ ]
+];