public function index() { $properties = Post::userPosts()->get(); return view('user.properties', compact('properties')); }