1
0
Fork 0
mirror of https://github.com/prurigro/hypothetical.git synced 2025-03-09 05:49:58 -04:00
hypothetical/app/Http/routes.php
2015-12-01 01:07:03 -05:00

26 lines
780 B
PHP

<?php
/*
|--------------------------------------------------------------------------
| Public Routes
|--------------------------------------------------------------------------
*/
Route::get('/', function () {
return view('website.home');
});
/*
|--------------------------------------------------------------------------
| Content Management Routes
|--------------------------------------------------------------------------
*/
// Authentication
Route::get('auth/login', 'Auth\AuthController@getLogin');
Route::post('auth/login', 'Auth\AuthController@postLogin');
Route::get('auth/logout', 'Auth\AuthController@getLogout');
// Registration
Route::get('auth/register', 'Auth\AuthController@getRegister');
Route::post('auth/register', 'Auth\AuthController@postRegister');