From 839ee5eac18b00ae9a66ea6ba47507a6a91bb337 Mon Sep 17 00:00:00 2001 From: oparoz Date: Mon, 11 Jul 2016 14:08:25 +0200 Subject: Make theming work with pretty URLs In some envs the rewrite rules for pretty URLs apply to all CSS files, so let's not end the route name with that etension. Fixes #315 --- apps/theming/appinfo/routes.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/theming/appinfo') diff --git a/apps/theming/appinfo/routes.php b/apps/theming/appinfo/routes.php index ac0463e2c26..dcbb0618fa2 100644 --- a/apps/theming/appinfo/routes.php +++ b/apps/theming/appinfo/routes.php @@ -40,7 +40,7 @@ namespace OCA\Theming\AppInfo; ], [ 'name' => 'Theming#getStylesheet', - 'url' => '/styles.css', + 'url' => '/styles', 'verb' => 'GET', ], [ -- cgit v1.2.3