2018-10-04 19:10:43 +02:00
|
|
|
<?php
|
2019-05-11 05:32:07 +02:00
|
|
|
/**
|
2020-09-06 11:38:10 +02:00
|
|
|
* Invoice Ninja (https://invoiceninja.com).
|
2019-05-11 05:32:07 +02:00
|
|
|
*
|
|
|
|
* @link https://github.com/invoiceninja/invoiceninja source repository
|
|
|
|
*
|
2020-01-07 01:13:47 +01:00
|
|
|
* @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;
|
2020-09-06 11:38:10 +02:00
|
|
|
use Illuminate\Foundation\Auth\Access\AuthorizesRequests;
|
2018-10-04 19:10:43 +02:00
|
|
|
use Illuminate\Foundation\Bus\DispatchesJobs;
|
2018-10-15 07:00:48 +02:00
|
|
|
use Illuminate\Foundation\Validation\ValidatesRequests;
|
2020-09-06 11:38:10 +02:00
|
|
|
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
|
|
|
|
{
|
2018-11-27 07:59:16 +01:00
|
|
|
use AuthorizesRequests, DispatchesJobs, ValidatesRequests;
|
2020-03-13 22:17:08 +01:00
|
|
|
|
|
|
|
/**
|
2020-03-23 18:10:42 +01:00
|
|
|
* Proxy method for rendering views.
|
|
|
|
*
|
2020-03-13 22:17:08 +01:00
|
|
|
* @param string $path
|
|
|
|
* @param array $options
|
|
|
|
*
|
2020-10-28 11:10:49 +01:00
|
|
|
* @return Factory|View
|
2020-03-13 22:17:08 +01:00
|
|
|
*/
|
|
|
|
public function render(string $path, array $options = [])
|
|
|
|
{
|
2020-03-23 18:10:42 +01:00
|
|
|
return render($path, $options);
|
2020-03-13 22:17:08 +01:00
|
|
|
}
|
2018-10-04 19:10:43 +02:00
|
|
|
}
|