This repository has been archived on 2026-07-02. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
HomeIsWhereTheMoneyIs/routes/web.php
T
2017-05-24 13:32:05 -05:00

38 lines
1.1 KiB
PHP
Executable File

<?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('/', 'HomeController@index');
Route::get('login', 'HomeController@login');
Route::get('register', 'HomeController@register');
Route::get('laravel', function () {
return view('welcome');
});
Route::get('hotboy', function () {
return 'I\'m iced up, ugly corner where we\'re from we don\'t really like ya';
});
Route::get('stunt', function () {
/**
$user = new User;
user->firstname = "John";
user->lastname = "Doe";
user->username = "Bigboy69420";
user->password = "Swish";
user->save();
*/
return "Check the database, I think someone was created";
});
//Route::resource('user', 'UserController');
//Route::get('user/index', 'App\Http\Controllers\UserController@index');