|
@@ 91-101 (lines=11) @@
|
| 88 |
|
* |
| 89 |
|
* @return \Illuminate\View\View |
| 90 |
|
*/ |
| 91 |
|
public function index() |
| 92 |
|
{ |
| 93 |
|
$projects = Project::orderBy('order')->orderBy('created_at')->get(); |
| 94 |
|
|
| 95 |
|
$this->subMenu['yours']['active'] = true; |
| 96 |
|
|
| 97 |
|
return View::make('dashboard.projects.index') |
| 98 |
|
->withPageTitle(trans_choice('dashboard.projects.projects', 2).' - '.trans('dashboard.dashboard')) |
| 99 |
|
->withProjects($projects) |
| 100 |
|
->withSubMenu($this->subMenu); |
| 101 |
|
} |
| 102 |
|
|
| 103 |
|
public function starred() |
| 104 |
|
{ |
|
@@ 103-113 (lines=11) @@
|
| 100 |
|
->withSubMenu($this->subMenu); |
| 101 |
|
} |
| 102 |
|
|
| 103 |
|
public function starred() |
| 104 |
|
{ |
| 105 |
|
|
| 106 |
|
$projects = Project::orderBy('order')->orderBy('created_at')->get(); |
| 107 |
|
|
| 108 |
|
$this->subMenu['starred']['active'] = true; |
| 109 |
|
|
| 110 |
|
return View::make('dashboard.projects.index') |
| 111 |
|
->withPageTitle(trans_choice('dashboard.projects.projects', 2).' - '.trans('dashboard.dashboard')) |
| 112 |
|
->withProjects($projects) |
| 113 |
|
->withSubMenu($this->subMenu); |
| 114 |
|
} |
| 115 |
|
|
| 116 |
|
/** |