/**
  * Display the specified resource.
  *
  * @param  int  $id
  * @return Response
  */
 public function show($id)
 {
     $country = $this->countryRepository->findOrFail($id);
     $this->render('admin.countries.show', compact('country'));
 }
 /**
  * Display the specified resource.
  *
  * @param  int  $id
  * @return Response
  */
 public function show($id)
 {
     $tag = $this->tagRepository->findOrFail($id);
     $this->render('admin.tags.show', compact('tag'));
 }
Пример #3
0
 /**
  * undocumented function
  *
  * @return void
  * @author 
  **/
 public static function remove($id)
 {
     $country = Country::findOrFail($id);
     return $country->delete();
 }