Update NewsroomController

This commit is contained in:
Daniel Supernault 2019-12-23 23:46:52 -07:00
parent fd65d93929
commit 21a802da33
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -37,6 +37,7 @@ class NewsroomController extends Controller
public function search(Request $request) public function search(Request $request)
{ {
abort(404);
$this->validate($request, [ $this->validate($request, [
'q' => 'nullable' 'q' => 'nullable'
]); ]);
@ -44,6 +45,7 @@ class NewsroomController extends Controller
public function archive(Request $request) public function archive(Request $request)
{ {
abort(404);
return view('site.news.archive.index'); return view('site.news.archive.index');
} }