Completed
Push — master ( 0e0e56...2367a7 )
by Pavel
05:22
created

HomeController::index()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 2
nc 1
nop 0
dl 0
loc 4
rs 10
c 0
b 0
f 0
1
<?php
2
3
namespace PavelMironchik\LaravelBackupPanel\Http\Controllers;
4
5
use Illuminate\View\View;
6
use PavelMironchik\LaravelBackupPanel\LaravelBackupPanel;
7
8
class HomeController extends Controller
9
{
10
    /**
11
     * Single page application catch-all route.
12
     *
13
     * @return View
14
     */
15
    public function index()
16
    {
17
        return view('laravel_backup_panel::layout', [
18
            'globalVariables' => LaravelBackupPanel::scriptVariables(),
19
        ]);
20
    }
21
}
22