v2board пре 2 година
родитељ
комит
61ae86be6f
2 измењених фајлова са 1 додато и 2 уклоњено
  1. 1 1
      public/theme/v2board/dashboard.blade.php
  2. 0 1
      routes/web.php

+ 1 - 1
public/theme/v2board/dashboard.blade.php

@@ -23,7 +23,7 @@
     <script>
         window.settings = {
             title: '{{$title}}',
-            theme_path: '{{$theme_path}}',
+            assets_path: '/theme/{{$theme}}/assets',
             theme: {
                 sidebar: '{{$theme_config['theme_sidebar']}}',
                 header: '{{$theme_config['theme_header']}}',

+ 0 - 1
routes/web.php

@@ -23,7 +23,6 @@ Route::get('/', function (Request $request) {
     $renderParams = [
         'title' => config('v2board.app_name', 'V2Board'),
         'theme' => config('v2board.frontend_theme', 'v2board'),
-        'theme_path' => '/theme/' . config('v2board.frontend_theme', 'v2board') . '/assets/',
         'version' => config('app.version'),
         'description' => config('v2board.app_description', 'V2Board is best'),
         'logo' => config('v2board.logo')