1 | <?php |
||
5 | class AdminController extends Controller |
||
6 | { |
||
7 | protected $data = []; // the information we send to the view |
||
8 | |||
9 | /** |
||
10 | * Create a new controller instance. |
||
11 | */ |
||
12 | public function __construct() |
||
16 | |||
17 | /** |
||
18 | * Show the admin dashboard. |
||
19 | * |
||
20 | * @return \Illuminate\Http\Response |
||
21 | */ |
||
22 | public function dashboard() |
||
28 | |||
29 | /** |
||
30 | * Redirect to the dashboard |
||
31 | */ |
||
32 | public function redirect() |
||
37 | } |
||
38 |