/**
  * Show all contacts in the specified contact category
  * @param $alias
  * @return
  */
 public function showCategory($alias)
 {
     $category = ContactCategory::with('contacts')->whereAlias($alias)->first();
     if (!$category) {
         App::abort(404);
     }
     $this->layout->title = "Contact in {$category->name}";
     $this->layout->content = View::make("public.{$this->current_theme}.contact-categories")->with('title', "Contact in {$category->name}")->with('category', $category);
 }
 /**
  * Display the specified contact.
  *
  * @param  int $id
  * @return Response
  */
 public function show($id)
 {
     $category = ContactCategory::with('contacts')->findOrFail($id);
     if (!$category) {
         App::abort('404');
     }
     $this->layout->title = "Contacts in category {$category->name}";
     $this->layout->content = View::make('contact_categories::show')->with('category', $category);
 }