public static function show() { $msg = Config::get("maintenance.msg"); $bg_color = Config::get("maintenance.bg"); //include 'View.php'; $view = array("bundle_name" => 'maintenance', "view" => 'maintenance.index', "backend" => true, "panel" => false, "roles" => ["Administrateur", "User", "Guest"]); View::make($view, ['msg' => $msg, 'bg_color' => $bg_color]); }
public static function hello() { $view = array("bundle_name" => 'hello', "view" => 'hello.index', "backend" => false, "panel" => false, "roles" => ["Guest"]); return View::make($view); }
/** * Views */ function view($value, $data = null) { return View::make($value, $data); }