/**
  * This function submits and saves a user review to the database.
  *
  * @param Request $request
  * @return void
  */
 public function submit_review(Request $request)
 {
     $review = new REVIEW();
     $review->name = Input::get('name');
     $review->review = Input::get('review');
     $review->save();
 }
 /**
  * reject reviews
  * @param Request $request
  */
 public function reject(Request $request)
 {
     $review = REVIEW::find($request->input('id'));
     $review->status = 'REJECTED';
     $review->save();
 }