Drop BaseController
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
class HomeController extends BaseController {
|
||||
class HomeController extends Controller {
|
||||
public function showIndex() {
|
||||
return View::make('index');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user