where
public function index() { $posts = Post::where('title', 'pst')->get(); return view('posts.index')->with('posts', $posts); }
Pro tip: use ```triple backticks around text``` to write in code fences