Drop BaseController

This commit is contained in:
James Brooks
2014-11-17 11:40:37 +00:00
parent 00e05472f3
commit 929a9fc91d
2 changed files with 1 additions and 19 deletions

View File

@@ -1,18 +0,0 @@
<?php
class BaseController extends Controller {
/**
* Setup the layout used by the controller.
*
* @return void
*/
protected function setupLayout()
{
if ( ! is_null($this->layout))
{
$this->layout = View::make($this->layout);
}
}
}

View File

@@ -1,6 +1,6 @@
<?php
class HomeController extends BaseController {
class HomeController extends Controller {
public function showIndex() {
return View::make('index');
}