public function deleteFishAction() { $id = Request::input('id'); Fish::destroy($id); return redirect('/admin/contents/fishes'); }
public function showFishInfoAction($id) { $fish = Fish::where('id', '=', $id)->first(); return view('base.fish_info', ['fish' => $fish]); }