diff options
author | Lukas Reschke <lukas@owncloud.com> | 2014-08-19 17:47:20 +0400 |
---|---|---|
committer | Lukas Reschke <lukas@owncloud.com> | 2014-08-19 17:47:20 +0400 |
commit | 670707ac895a904874c678145a9b6e3b845bd053 (patch) | |
tree | 490f339847dae37017ab2f5edf1a5f1c2553c28b /apptemplate | |
parent | 71c575a1fbfab77437612f9ab86e7d0ba469bcc2 (diff) |
Add routing to apptemplate
Diffstat (limited to 'apptemplate')
-rw-r--r-- | apptemplate/appinfo/routes.php | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/apptemplate/appinfo/routes.php b/apptemplate/appinfo/routes.php new file mode 100644 index 000000000..92c3c9de5 --- /dev/null +++ b/apptemplate/appinfo/routes.php @@ -0,0 +1,12 @@ +<?php +/** + * Copyright (c) 2014, Lukas Reschke <lukas@owncloud.com> + * This file is licensed under the Affero General Public License version 3 or later. + * See the COPYING-README file. + */ + +/** @var $this \OCP\Route\IRouter */ +$this->create('apptemplate_index', '/') + ->actionInclude('apptemplate/index.php'); +$this->create('apptemplate_ajax_seturl', 'ajax/seturl.php') + ->actionInclude('apptemplate/ajax/seturl.php');
\ No newline at end of file |