Unverified Commit 017ca93d authored by wolfcode's avatar wolfcode Committed by GitHub

Update BlogBase.php

parent 87fe30d9
......@@ -19,7 +19,7 @@ class BlogBase
* @param array $assign
* @return Response
*/
public function blog_tpl(array $assign = []): Response
protected function blog_tpl(array $assign = []): Response
{
$controllerClass = request()->controller;
$controller = strtolower(substr($controllerClass, strrpos($controllerClass, '\\') + 1));
......@@ -32,8 +32,8 @@ class BlogBase
return view($template, $assign);
}
public function jump404(): Response
protected function jump404(): Response
{
return view('public/404');
}
}
\ No newline at end of file
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment