/**
  * Run the database seeds.
  *
  * @return void
  */
 public function run()
 {
     // We want to delete the table if it exists before running the seed
     DB::table('tour_comments')->delete();
     $seederData = array(['user_id' => 1, 'tour_id' => 1, 'reply_id' => 1, 'comment' => 'this is a comment'], ['user_id' => 1, 'tour_id' => 1, 'reply_id' => 1, 'comment' => 'this is 2 a comment'], ['user_id' => 1, 'tour_id' => 1, 'reply_id' => 1, 'comment' => 'this is 3 a comment']);
     foreach ($seederData as $item) {
         TourComment::create($item);
     }
 }
 /**
  * Display a listing of the resource.
  *
  * @return Response
  */
 public function index()
 {
     // get tour comments
     $tourComment = TourComment::all();
     return $tourComment;
 }