mirror of
https://github.com/Aviortheking/CA_LARAVEL.git
synced 2025-06-19 12:29:19 +00:00
Suppression des Templates inutiles
Signed-off-by: Avior <florian.bouillon@delta-wings.net>
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,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');
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user