/**
  * Run the database seeds.
  *
  * @return void
  */
 public function run()
 {
     Model::unguard();
     $seeds = [['content_type_id' => 2, 'created_by' => 1, 'category_id' => 1, 'language_id' => 1, 'mime_type' => 'text/html', 'title' => 'About', 'summary' => 'About our team', 'body' => '<p>Everything you ever wanted to know about us, but were afraid to ask.</p>']];
     foreach ($seeds as $seed) {
         Content::create($seed);
     }
     Model::reguard();
 }
 /**
  * Remove the specified resource from storage.
  *
  * @param  int  $id
  * @return Response
  */
 public function destroy($id)
 {
     $content = Content::find($id);
     $content->delete();
     return redirect()->route('contents.admin')->with('message', 'Content was deleted');
 }