Skip to content

Commit

Permalink
Update BaseController to Controller
Browse files Browse the repository at this point in the history
  • Loading branch information
antonybudianto committed May 19, 2015
1 parent 16dca18 commit 1fdeb0a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions controllers.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<a name="introduction"></a>
## Introduction

Instead of defining all of your request handling logic in a single `routes.php` file, you may wish to organize this behavior using Controller classes. Controllers can group related HTTP request handling logic into a class. Controllers are typically stored in the `app/Http/Controllers` directory.
Instead of defining all of your request handling logic in a single `routes.php` file, you may wish to organize this behavior using Controller classes. Controllers can group related HTTP request handling logic into a class. Controllers are typically stored in the `app/Http/Controllers` directory.b

<a name="basic-controllers"></a>
## Basic Controllers
Expand Down Expand Up @@ -110,7 +110,7 @@ Laravel allows you to easily define a single route to handle every action in a c

The `controller` method accepts two arguments. The first is the base URI the controller handles, while the second is the class name of the controller. Next, just add methods to your controller, prefixed with the HTTP verb they respond to:

class UserController extends BaseController {
class UserController extends Controller {

public function getIndex()
{
Expand Down

0 comments on commit 1fdeb0a

Please sign in to comment.