Пример #1
0
 public function index($feeling, $page)
 {
     $emoticons = Emoticon::take($this->COUNT)->where('feeling', $feeling)->get();
     return view('results.index', compact('emoticons'));
 }
Пример #2
0
 public function index()
 {
     $emoticons = Emoticon::take(2)->get();
     return view('emoticons.index', compact('emoticons'));
 }