1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 21:22:58 +01:00
invoiceninja/app/Http/Controllers/Controller.php

37 lines
979 B
PHP
Raw Normal View History

2018-10-04 19:10:43 +02:00
<?php
2019-05-11 05:32:07 +02:00
/**
* Invoice Ninja (https://invoiceninja.com)
*
* @link https://github.com/invoiceninja/invoiceninja source repository
*
* @copyright Copyright (c) 2020. Invoice Ninja LLC (https://invoiceninja.com)
2019-05-11 05:32:07 +02:00
*
* @license https://opensource.org/licenses/AAL
*/
2018-10-04 19:10:43 +02:00
namespace App\Http\Controllers;
use App\Utils\Traits\UserSessionAttributes;
2018-10-04 19:10:43 +02:00
use Illuminate\Foundation\Bus\DispatchesJobs;
use Illuminate\Routing\Controller as BaseController;
use Illuminate\Foundation\Validation\ValidatesRequests;
use Illuminate\Foundation\Auth\Access\AuthorizesRequests;
2018-10-04 19:10:43 +02:00
class Controller extends BaseController
{
use AuthorizesRequests, DispatchesJobs, ValidatesRequests;
/**
2020-03-23 18:10:42 +01:00
* Proxy method for rendering views.
*
* @param string $path
* @param array $options
*
* @return \Illuminate\Contracts\View\Factory|\Illuminate\View\View
*/
public function render(string $path, array $options = [])
{
2020-03-23 18:10:42 +01:00
return render($path, $options);
}
2018-10-04 19:10:43 +02:00
}