| @@ 59-67 (lines=9) @@ | ||
| 56 | * |
|
| 57 | * @return \Illuminate\View\View |
|
| 58 | */ |
|
| 59 | public function indexAction() |
|
| 60 | { |
|
| 61 | $this->subMenu['yours']['active'] = true; |
|
| 62 | ||
| 63 | return View::make('dashboard.groups.index') |
|
| 64 | ->withPageTitle(trans_choice('gitamin.groups.groups', 2).' - '.trans('dashboard.dashboard')) |
|
| 65 | ->withGroups(Group::IsGroup()->Mine()->get()) |
|
| 66 | ->withSubMenu($this->subMenu); |
|
| 67 | } |
|
| 68 | } |
|
| 69 | ||
| @@ 67-76 (lines=10) @@ | ||
| 64 | * |
|
| 65 | * @return \Illuminate\View\View |
|
| 66 | */ |
|
| 67 | public function indexAction() |
|
| 68 | { |
|
| 69 | $projects = Project::orderBy('created_at')->get(); |
|
| 70 | $this->subMenu['yours']['active'] = true; |
|
| 71 | ||
| 72 | return View::make('dashboard.projects.index') |
|
| 73 | ->withPageTitle(trans_choice('dashboard.projects.projects', 2).' - '.trans('dashboard.dashboard')) |
|
| 74 | ->withProjects($projects) |
|
| 75 | ->withSubMenu($this->subMenu); |
|
| 76 | } |
|
| 77 | ||
| 78 | /** |
|
| 79 | * Shows the starred projects view. |
|