json(['message' => 'Inline route test']); } /** * Show the form for creating a new resource. */ public function create() { return view('api::create'); } /** * Store a newly created resource in storage. */ public function store(Request $request) {} /** * Show the specified resource. */ public function show($id) { return view('api::show'); } /** * Show the form for editing the specified resource. */ public function edit($id) { return view('api::edit'); } /** * Update the specified resource in storage. */ public function update(Request $request, $id) {} /** * Remove the specified resource from storage. */ public function destroy($id) {} }