Skip to content

Commit 6b7ecc4

Browse files
committed
Finish layout and routes
1 parent f373c02 commit 6b7ecc4

File tree

10 files changed

+5982
-6
lines changed

10 files changed

+5982
-6
lines changed
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<?php
2+
3+
namespace App\Http\Controllers;
4+
5+
use Illuminate\Http\Request;
6+
7+
use App\Http\Requests;
8+
use App\Http\Controllers\Controller;
9+
10+
class UsersController extends Controller
11+
{
12+
public function create()
13+
{
14+
return view('users.create');
15+
}
16+
}

app/Http/routes.php

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
<?php
2-
get('/', 'StaticPagesController@home');
3-
get('/help', 'StaticPagesController@help');
4-
get('/about', 'StaticPagesController@about');
2+
3+
get('/', 'StaticPagesController@home')->name('home');
4+
get('/help', 'StaticPagesController@help')->name('help');
5+
get('/about', 'StaticPagesController@about')->name('about');
6+
7+
get('signup', 'UsersController@create')->name('signup');

0 commit comments

Comments
 (0)