public function index($feeling, $page) { $emoticons = Emoticon::take($this->COUNT)->where('feeling', $feeling)->get(); return view('results.index', compact('emoticons')); }
public function index() { $emoticons = Emoticon::take(2)->get(); return view('emoticons.index', compact('emoticons')); }