/** * [composeUserPhotos description] * @return [type] [description] */ public function composeUserPhotos() { view()->composer('user.user', function ($view) { $view->with('photos', UsersPhotos::images()->get()); }); }
/** * [composeUserPhotos description] * @return [type] [description] */ public function composeUserPhotos() { view()->composer('user.user', function ($view) { $view->with('photos', UsersPhotos::images()->get()); }); }