Removed un unused create() and store() from YabsController.php

This commit is contained in:
cp6 2023-08-19 23:46:52 +10:00
parent 507f128bf6
commit 3bef30d861

View File

@ -15,16 +15,6 @@ class YabsController extends Controller
return view('yabs.index', ['yabs' => Yabs::allYabs()]); return view('yabs.index', ['yabs' => Yabs::allYabs()]);
} }
public function create()
{
abort(404);//Use new YABS json output POST method -s "URL"
}
public function store(Request $request)
{
abort(404);//Storing YABS now done through APiController
}
public function show(Yabs $yab) public function show(Yabs $yab)
{ {
return view('yabs.show', ['yabs' => Yabs::yabs($yab->id)]); return view('yabs.show', ['yabs' => Yabs::yabs($yab->id)]);