From 1fdeb0a82e03f9cb60e6e5b19499b476318e5c51 Mon Sep 17 00:00:00 2001 From: Antony Budianto Date: Tue, 19 May 2015 20:45:43 +0700 Subject: [PATCH] Update BaseController to Controller --- controllers.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/controllers.md b/controllers.md index b89891104a2..21f4278be2e 100644 --- a/controllers.md +++ b/controllers.md @@ -11,7 +11,7 @@ ## 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 ## Basic Controllers @@ -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() {