示例#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'));
 }