summaryrefslogtreecommitdiffstats
path: root/apps/theming/appinfo
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2016-07-28 15:47:09 +0200
committerBjoern Schiessle <bjoern@schiessle.org>2016-07-28 17:49:08 +0200
commit2de41121766a5d3b31cd61653fce8e107f42f22d (patch)
treea0412453d6d38b12f1c7f80d5e93814a41a6adf1 /apps/theming/appinfo
parent2f574f60ec4434f994c6568e1c8bd7b5846ec75a (diff)
downloadnextcloud-server-2de41121766a5d3b31cd61653fce8e107f42f22d.tar.gz
nextcloud-server-2de41121766a5d3b31cd61653fce8e107f42f22d.zip
Update routes.php
Diffstat (limited to 'apps/theming/appinfo')
-rw-r--r--apps/theming/appinfo/routes.php6
1 files changed, 2 insertions, 4 deletions
diff --git a/apps/theming/appinfo/routes.php b/apps/theming/appinfo/routes.php
index 073dacb789c..e062a68d69d 100644
--- a/apps/theming/appinfo/routes.php
+++ b/apps/theming/appinfo/routes.php
@@ -24,9 +24,7 @@
*
*/
-namespace OCA\Theming\AppInfo;
-
-(new \OCP\AppFramework\App('theming'))->registerRoutes($this, array('routes' => array(
+return ['routes' => [
[
'name' => 'Theming#updateStylesheet',
'url' => '/ajax/updateStylesheet',
@@ -57,5 +55,5 @@ namespace OCA\Theming\AppInfo;
'url' => '/loginbackground',
'verb' => 'GET',
],
-)));
+]];