예제 #1
0
 public function popularCard()
 {
     $card = Card::popularDetail();
     $navbar = Navbar::get();
     return view('web.card')->with('navbar', $navbar)->with('fb_app_id', env('FB_client_id'))->with('card_id', $card->id)->with('card_name', $card->name)->with('card_description', $card->description)->with('author', $card->author);
 }