diff options
author | Julius Härtl <jus@bitgrid.net> | 2017-04-28 17:55:59 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2017-04-29 00:40:15 -0300 |
commit | 6b8341ce4b6cac3f9a50d188753d95283573b72d (patch) | |
tree | 5aed05052568f82616d89172f6cb431b2046641e /apps/theming/lib/Controller | |
parent | 130780056109d8b65e7b9abe40c89e26a75c5e35 (diff) | |
download | nextcloud-server-6b8341ce4b6cac3f9a50d188753d95283573b72d.tar.gz nextcloud-server-6b8341ce4b6cac3f9a50d188753d95283573b72d.zip |
Use generated SCSS for theming preview
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'apps/theming/lib/Controller')
-rw-r--r-- | apps/theming/lib/Controller/ThemingController.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/theming/lib/Controller/ThemingController.php b/apps/theming/lib/Controller/ThemingController.php index b2d603bb68a..ae3060b1b7d 100644 --- a/apps/theming/lib/Controller/ThemingController.php +++ b/apps/theming/lib/Controller/ThemingController.php @@ -163,6 +163,10 @@ class ThemingController extends Controller { } $this->themingDefaults->set($setting, $value); + + // reprocess server scss for preview + $cssCached = $this->scssCacher->process(\OC::$SERVERROOT, '/core/css/server.scss', 'core'); + return new DataResponse( [ 'data' => |