app/Http/Controllers/Dashboard/GroupsController.php 1 location
|
@@ 74-82 (lines=9) @@
|
71 |
|
* |
72 |
|
* @return \Illuminate\View\View |
73 |
|
*/ |
74 |
|
public function indexAction() |
75 |
|
{ |
76 |
|
$this->subMenu['yours']['active'] = true; |
77 |
|
|
78 |
|
return View::make('dashboard.groups.index') |
79 |
|
->withPageTitle(trans_choice('gitamin.groups.groups', 2).' - '.trans('dashboard.dashboard')) |
80 |
|
->withGroups(Group::IsGroup()->Mine()->get()) |
81 |
|
->withSubMenu($this->subMenu); |
82 |
|
} |
83 |
|
} |
84 |
|
|
app/Http/Controllers/Dashboard/ProjectController.php 1 location
|
@@ 77-86 (lines=10) @@
|
74 |
|
* |
75 |
|
* @return \Illuminate\View\View |
76 |
|
*/ |
77 |
|
public function index() |
78 |
|
{ |
79 |
|
$projects = Project::orderBy('created_at')->get(); |
80 |
|
$this->subMenu['yours']['active'] = true; |
81 |
|
|
82 |
|
return View::make('dashboard.projects.index') |
83 |
|
->withPageTitle(trans_choice('dashboard.projects.projects', 2).' - '.trans('dashboard.dashboard')) |
84 |
|
->withProjects($projects) |
85 |
|
->withSubMenu($this->subMenu); |
86 |
|
} |
87 |
|
|
88 |
|
public function starred() |
89 |
|
{ |
app/Http/Controllers/GroupsController.php 1 location
|
@@ 78-86 (lines=9) @@
|
75 |
|
* |
76 |
|
* @return \Illuminate\View\View |
77 |
|
*/ |
78 |
|
public function indexAction() |
79 |
|
{ |
80 |
|
$this->subMenu['groups']['active'] = true; |
81 |
|
|
82 |
|
return View::make('groups.index') |
83 |
|
->withPageTitle(trans_choice('gitamin.groups.groups', 2).' - '.trans('dashboard.dashboard')) |
84 |
|
->withGroups(Group::get()) |
85 |
|
->withSubMenu($this->subMenu); |
86 |
|
} |
87 |
|
|
88 |
|
/** |
89 |
|
* Shows the group view. |