예제 #1
0
 /**
  * Display page.
  * @return \Illuminate\Contracts\View\Factory|\Illuminate\View\View
  */
 public function show()
 {
     $faqs = $this->faq->all();
     return view('frontend.faq.show', compact('faqs'));
 }
예제 #2
0
 /**
  * @param null $perPage
  * @param bool $all
  * @return mixed
  */
 public function paginate($page = 1, $limit = 10, $all = false)
 {
     return $this->faq->paginate($page, $limit, $all);
 }