Category::all(), 'tags' => Tag::all()]); } /** * Show the form for creating a new resource. */ public function create() { // } /** * Store a newly created resource in storage. */ public function store(StoreCategoryRequest $request) { // } /** * Display the specified resource. */ public function show(Category $category) { return view('category.show', [ 'category' => $category, 'albums' => $category->albums, ]); } /** * Show the form for editing the specified resource. */ public function edit(Category $category) { // } /** * Update the specified resource in storage. */ public function update(UpdateCategoryRequest $request, Category $category) { // } /** * Remove the specified resource from storage. */ public function destroy(Category $category) { // } }