public function store(Request $request)
 {
     $category = Category::findOrFail($request->parent_id);
     $this->authorize('laraboard::board-create', $category);
     $this->validate($request, ['name' => 'required|max:255', 'body' => 'max:255']);
     $board = new Post();
     $board->name = $request->name;
     $board->body = $request->body;
     $board->type = 'Board';
     $board->user_id = \Auth::user()->id;
     $board->save();
     $board->makeChildOf($category);
     return redirect()->route('board.show', [$board->slug, $board->name_slug])->with('success', 'Board created successfully.');
 }