29.07.2016 Views

laravel-5

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

HTTP Requests 84<br />

.<br />

1 Route::put('user/{id}', 'UserController@update');<br />

You may still type-hint the Illuminate\Http\Request and access your route parameter id by<br />

defining your controller method like the following:<br />

.<br />

1

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!