예제 #1
0
 public function team($id)
 {
     return $this->team->find($id) ?: $this->abort(404, 'team not found');
 }
예제 #2
0
 public function get($id)
 {
     return $this->team->find($id) ?: $this->abort(404);
 }