Update routes.php

This commit is contained in:
Joas Schilling 2016-07-28 15:47:09 +02:00 committed by Bjoern Schiessle
parent 2f574f60ec
commit 2de4112176
No known key found for this signature in database
GPG key ID: 2378A753E2BF04F6

View file

@ -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',
],
)));
]];