1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-09-21 00:41:34 +02:00
invoiceninja/app/Http/Controllers/BaseController.php
2016-03-02 15:36:42 +02:00

28 lines
545 B
PHP

<?php namespace App\Http\Controllers;
use Illuminate\Foundation\Bus\DispatchesJobs;
class BaseController extends Controller
{
use DispatchesJobs;
/**
* Setup the layout used by the controller.
*
* @return void
*/
protected function setupLayout()
{
if (! is_null($this->layout)) {
$this->layout = View::make($this->layout);
}
}
/*
public function __construct()
{
$this->beforeFilter('csrf', array('on' => array('post', 'delete', 'put')));
}
*/
}