public function postStore(Request $request)
 {
     $type = new ContentType();
     $type->name = $request->input('name');
     $type->slug = $type->name;
     $type->publish = 1;
     $type->save();
     return back()->withMsg("Материал \"{$type->name}\" успешно сохранен");
 }