2019-11-18 18:33:29 +01:00
|
|
|
<?php
|
|
|
|
|
|
|
|
/*
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
| Web Routes
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
| Here is where you can register web routes for your application. These
|
|
|
|
| routes are loaded by the RouteServiceProvider within a group which
|
|
|
|
| contains the "web" middleware group. Now create something great!
|
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
Route::get('/', function () {
|
|
|
|
return view('welcome');
|
|
|
|
});
|
2019-11-30 21:32:42 +01:00
|
|
|
Route::get('/admin', function () {
|
|
|
|
return view('adminpanel');
|
|
|
|
});
|
2019-11-25 16:23:25 +01:00
|
|
|
|
|
|
|
Auth::routes();
|
|
|
|
|
|
|
|
Route::get('/home', 'HomeController@index')->name('home');
|
2019-11-30 21:32:42 +01:00
|
|
|
Route::get('/admin', 'AdminPanelController@index')->name('admin');
|