/**
  * Show the form for creating a new resource.
  *
  * @return Response
  */
 public function create()
 {
     $cms = Cms::newInstance(['control' => 'create', 'action' => Lang::get('content::messages.add')]);
     // create a more-or-less empty article template
     $category = Category::newInstance(['active' => true]);
     if ($category) {
         return view('newmarkets\\content::admin.category.edit', compact('category', 'cms'));
     }
     throw new NotFoundHttpException();
 }