mirror of
https://github.com/Aviortheking/CA_LARAVEL.git
synced 2025-07-16 07:59:50 +00:00
Initial Commit !
Signed-off-by: Avior <florian.bouillon@delta-wings.net>
This commit is contained in:
18
app/controllers/BaseController.php
Executable file
18
app/controllers/BaseController.php
Executable file
@ -0,0 +1,18 @@
|
||||
<?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);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user