Cleanup Controller inheritance

This commit is contained in:
Nabeel Shahzad
2018-01-11 21:35:03 -06:00
parent 174e3d1461
commit fe4f39a5dc
14 changed files with 27 additions and 46 deletions

View File

@@ -20,7 +20,6 @@ class Controller extends BaseController
*/
public function view($template, array $vars=[], $merge_data=[])
{
$tpl = 'layouts/' . config('phpvms.skin') . '/' . $template;
return view($tpl, $vars, $merge_data);
return skin_view($template, $vars, $merge_data);
}
}