| 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() |
||
| 18 | |||
| 19 | /** |
||
| 20 | * Show the admin dashboard. |
||
| 21 | * |
||
| 22 | * @return \Illuminate\Http\Response |
||
| 23 | */ |
||
| 24 | public function dashboard() |
||
| 30 | |||
| 31 | /** |
||
| 32 | * Redirect to the dashboard. |
||
| 33 | * |
||
| 34 | * @return \Illuminate\Routing\Redirector|\Illuminate\Http\RedirectResponse |
||
| 35 | */ |
||
| 36 | public function redirect() |
||
| 41 | } |
||
| 42 |