public function getRegister()
 {
     $loggedIn = false;
     $title = 'index';
     $markets = Market::orderBy('upvote', 'desc')->get();
     return view('auth.register', compact('title', 'markets', 'loggedIn'));
 }
Beispiel #2
0
 public function __construct()
 {
     $this->loggedIn = Auth::check();
     $this->markets = Market::orderBy('upvote', 'desc')->get();
 }