From 2de41121766a5d3b31cd61653fce8e107f42f22d Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Thu, 28 Jul 2016 15:47:09 +0200 Subject: Update routes.php --- apps/theming/appinfo/routes.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'apps/theming') 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', ], -))); +]]; -- cgit v1.2.3