Suppression des Templates inutiles

Signed-off-by: Avior <florian.bouillon@delta-wings.net>
This commit is contained in:
2020-02-13 11:23:10 +01:00
parent 9c5f293fdc
commit fc264552ca
3 changed files with 0 additions and 141 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,23 +0,0 @@
<?php
class HomeController extends BaseController {
/*
|--------------------------------------------------------------------------
| Default Home Controller
|--------------------------------------------------------------------------
|
| You may wish to use controllers instead of, or in addition to, Closure
| based routes. That's great! Here is an example controller method to
| get you started. To route to this controller, just add the route:
|
| Route::get('/', 'HomeController@showWelcome');
|
*/
public function showWelcome()
{
return View::make('hello');
}
}