We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
Total Complexity | 4 |
Total Lines | 47 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
7 | class AdminController extends Controller |
||
8 | { |
||
9 | protected $data = []; // the information we send to the view |
||
10 | |||
11 | /** |
||
12 | * Create a new controller instance. |
||
13 | */ |
||
14 | public function __construct() |
||
15 | { |
||
16 | $this->middleware(backpack_middleware()); |
||
17 | } |
||
18 | |||
19 | /** |
||
20 | * Show the admin dashboard. |
||
21 | * |
||
22 | * @return \Illuminate\Http\Response |
||
23 | */ |
||
24 | public function dashboard() |
||
33 | } |
||
34 | |||
35 | /** |
||
36 | * Redirect to the dashboard. |
||
37 | * |
||
38 | * @return \Illuminate\Routing\Redirector|\Illuminate\Http\RedirectResponse |
||
39 | */ |
||
40 | public function redirect() |
||
44 | } |
||
45 | |||
46 | /** |
||
47 | * Show the 404 error page. |
||
48 | * |
||
49 | * @return \Illuminate\View\View |
||
50 | */ |
||
51 | public function notFound() |
||
56 |