Initial commit

This commit is contained in:
Mathieu Lagace
2018-06-27 19:54:27 -04:00
commit 771ed55f53
1263 changed files with 140352 additions and 0 deletions

27
routes/web.php Normal file
View File

@@ -0,0 +1,27 @@
<?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 () {
$tasks = App\Task::incomplete()->get();
return view('welcome', compact('tasks'));
});
Route::get('/register', 'AuthController@register');
Route::post('/register', 'AuthController@createuser');
Route::get('/login', 'AuthController@login');
Route::get('/admin', 'AdminController@index')->name('home');