1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-06 03:02:34 +01:00
invoiceninja/app/Http/Controllers/Controller.php

38 lines
957 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).
2019-05-11 05:32:07 +02:00
*
* @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;
2020-10-28 11:10:49 +01:00
use Illuminate\Contracts\View\Factory;
use Illuminate\Foundation\Auth\Access\AuthorizesRequests;
2018-10-04 19:10:43 +02:00
use Illuminate\Foundation\Bus\DispatchesJobs;
use Illuminate\Foundation\Validation\ValidatesRequests;
use Illuminate\Routing\Controller as BaseController;
2020-10-28 11:10:49 +01:00
use Illuminate\View\View;
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
*
2020-10-28 11:10:49 +01:00
* @return Factory|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
}