public function getRandom() { $this->layout->title = 'Random'; $quotes = Quote::orderByRaw('RAND()')->whereStatus(1)->paginate(Config::get('settings.per_page')); $this->layout->nest('content', 'random', ['quotes' => $quotes]); }