app/Http/Controllers/GroupsController.php 1 location
|
@@ 144-151 (lines=8) @@
|
141 |
|
* |
142 |
|
* @return \Illuminate\View\View |
143 |
|
*/ |
144 |
|
public function editAction($path) |
145 |
|
{ |
146 |
|
$group = Group::findByPath($path); |
147 |
|
|
148 |
|
return View::make('groups.edit') |
149 |
|
->withPageTitle(trans('dashboard.teams.edit.title').' - '.trans('dashboard.dashboard')) |
150 |
|
->withGroup($group); |
151 |
|
} |
152 |
|
|
153 |
|
/** |
154 |
|
* Updates a project namespace. |
app/Http/Controllers/ProjectsController.php 1 location
|
@@ 119-128 (lines=10) @@
|
116 |
|
* |
117 |
|
* @return \Illuminate\Http\Response |
118 |
|
*/ |
119 |
|
public function editAction($owner_path, $project_path) |
120 |
|
{ |
121 |
|
$project = Project::findByPath($owner_path, $project_path); |
122 |
|
|
123 |
|
return View::make('projects.edit') |
124 |
|
->withPageTitle(trans('dashboard.projects.new.title').' - '.trans('dashboard.dashboard')) |
125 |
|
->withProject($project) |
126 |
|
->withGroupId('') |
127 |
|
->withGroups(Group::all()); |
128 |
|
} |
129 |
|
|
130 |
|
/** |
131 |
|
* Update the specified resource in storage. |