summaryrefslogtreecommitdiffstats
path: root/apps/theming/appinfo
diff options
context:
space:
mode:
authoroparoz <owncloud@interfasys.ch>2016-07-11 14:08:25 +0200
committeroparoz <owncloud@interfasys.ch>2016-07-11 14:08:25 +0200
commit839ee5eac18b00ae9a66ea6ba47507a6a91bb337 (patch)
treedd33279031c4c066146dcb6a068137af9650ddb6 /apps/theming/appinfo
parentd15fd5cb96043f908f8fdb9e111f1c8686a0434b (diff)
downloadnextcloud-server-839ee5eac18b00ae9a66ea6ba47507a6a91bb337.tar.gz
nextcloud-server-839ee5eac18b00ae9a66ea6ba47507a6a91bb337.zip
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
Diffstat (limited to 'apps/theming/appinfo')
-rw-r--r--apps/theming/appinfo/routes.php2
1 files changed, 1 insertions, 1 deletions
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',
],
[