Zoekfunctie, links gefixt
This commit is contained in:
@@ -93,4 +93,11 @@ class Controller extends BaseController
|
||||
return new \DateTime($obj->date, new \DateTimeZone($obj->timezone));
|
||||
}
|
||||
|
||||
public function __call($method, $arguments) {
|
||||
if(substr($method, 0, 5) == 'view_') {
|
||||
$view = substr($method, 5);
|
||||
if(view()->exists($view)) { return view($view); }
|
||||
}
|
||||
return abort(404);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user