@@ 53-62 (lines=10) @@ | ||
50 | * |
|
51 | * @return \Illuminate\Http\Response |
|
52 | */ |
|
53 | public function getDashboard() |
|
54 | { |
|
55 | $view = 'admin.dashboard'; |
|
56 | ||
57 | if (!view()->exists($view)) { |
|
58 | $view = 'flare::'.$view; |
|
59 | } |
|
60 | ||
61 | return view($view, ['widgets' => (new WidgetAdminManager())]); |
|
62 | } |
|
63 | ||
64 | /** |
|
65 | * Show the login form. |
@@ 53-62 (lines=10) @@ | ||
50 | * |
|
51 | * @return \Illuminate\Http\Response |
|
52 | */ |
|
53 | public function getDashboard() |
|
54 | { |
|
55 | $view = 'admin.dashboard'; |
|
56 | ||
57 | if (!view()->exists($view)) { |
|
58 | $view = 'flare::'.$view; |
|
59 | } |
|
60 | ||
61 | return view($view, ['widgets' => (new WidgetAdminManager())]); |
|
62 | } |
|
63 | ||
64 | /** |
|
65 | * Show the login form. |