protected function loadBadge()
 {
     $id = post('id');
     return Badge::find($id);
 }
Beispiel #2
0
 public function onRenderBadge()
 {
     $id = post('id');
     $badge = Badge::find($id);
     return BadgeManager::render($this, $badge);
 }