Move all front-end templates into a skin folder; override some view calls to accomodate

This commit is contained in:
Nabeel Shahzad
2017-08-01 18:40:05 -05:00
parent aa0629f28d
commit 3f69c412b3
19 changed files with 43 additions and 11 deletions

View File

@@ -10,4 +10,10 @@ use Illuminate\Foundation\Auth\Access\AuthorizesRequests;
class Controller extends BaseController
{
use AuthorizesRequests, DispatchesJobs, ValidatesRequests;
public function view($template, $vars=[])
{
$tpl = 'layouts/'.config('phpvms.skin').'/'.$template;
return view($tpl, $vars);
}
}