/**
  * Shows the component groups view.
  *
  * @return \Illuminate\View\View
  */
 public function showComponentGroups()
 {
     $this->subMenu['groups']['active'] = true;
     return View::make('dashboard.components.groups.index')->withPageTitle(trans_choice('dashboard.components.groups.groups', 2) . ' - ' . trans('dashboard.dashboard'))->withGroups(ComponentGroup::orderBy('order')->get())->withSubMenu($this->subMenu);
 }
 /**
  * Shows the component groups view.
  *
  * @return \Illuminate\View\View
  */
 public function showComponentGroups()
 {
     $this->subMenu['groups']['active'] = true;
     return View::make('dashboard.components.groups.index')->with(['page_title' => trans_choice('dashboard.components.groups.groups', 2) . ' - ' . trans('dashboard.dashboard'), 'groups' => ComponentGroup::orderBy('order')->get(), 'sub_menu' => $this->subMenu]);
 }