public function update($id)
 {
     $validator = Testimonial::validate(Input::only('name', 'email', 'location', 'description'));
     if ($validator->fails()) {
         return Redirect::to('/createTestimonial')->withErrors($validator)->withInput(Input::all());
     } else {
         $testimonial = $this->testimonailRepo->getById($id);
         $testimonial->name = Input::get('name');
         $testimonial->email = Input::get('email');
         $testimonial->location = Input::get('location');
         $testimonial->description = Input::get('description');
         $testimonial->save();
         return Redirect::to('allTestimonials')->with('message', 'Testimonial was successfully updated');
     }
 }