Beispiel #1
0
 /**
  * Display a listing of the resource.
  *
  * @return Response
  */
 public function index()
 {
     $comments = $this->comment_gestion->index(4);
     $links = $comments->render();
     $url = config('medias.url');
     return view('back.blog.comments', compact('comments', 'links', 'url'));
 }
Beispiel #2
0
 /**
  * Display a listing of the resource.
  *
  * @return Response
  */
 public function index()
 {
     $comments = $this->comment_gestion->index(4);
     $links = str_replace('/?', '?', $comments->render());
     return view('back.comments.index', compact('comments', 'links'));
 }
 /**
  * Display a listing of the resource.
  *
  * @return Response
  */
 public function index()
 {
     $comments = $this->comment_gestion->index(4);
     $links = $comments->setPath('')->render();
     return view('back.comments.index', compact('comments', 'links'));
 }