@@ -87,11 +87,11 @@ |
||
| 87 | 87 | return $this->belongsTo(Group::class, 'namespace_id', 'id'); |
| 88 | 88 | } |
| 89 | 89 | |
| 90 | - /** |
|
| 91 | - * Projects can belong to a namespace. |
|
| 92 | - * |
|
| 93 | - * @return \Illuminate\Database\Eloquent\Relations\BelongsTo |
|
| 94 | - */ |
|
| 90 | + /** |
|
| 91 | + * Projects can belong to a namespace. |
|
| 92 | + * |
|
| 93 | + * @return \Illuminate\Database\Eloquent\Relations\BelongsTo |
|
| 94 | + */ |
|
| 95 | 95 | public function projectNamespace() |
| 96 | 96 | { |
| 97 | 97 | return $this->belongsTo(ProjectNamespace::class, 'namespace_id', 'id'); |
@@ -52,12 +52,12 @@ |
||
| 52 | 52 | 'setting' => 'app_name', |
| 53 | 53 | 'as' => 'groups.', |
| 54 | 54 | ], function ($router) { |
| 55 | - $router->get('{namespace}', [ |
|
| 55 | + $router->get('{namespace}', [ |
|
| 56 | 56 | 'as' => 'group_show', |
| 57 | 57 | 'uses' => 'GroupsController@show', |
| 58 | 58 | ])->where('namespace', '[a-zA-z.0-9_\-]+'); |
| 59 | 59 | |
| 60 | - $router->get('{namespace}/edit', [ |
|
| 60 | + $router->get('{namespace}/edit', [ |
|
| 61 | 61 | 'as' => 'group_edit', |
| 62 | 62 | 'uses' => 'GroupsController@edit', |
| 63 | 63 | ])->where('namespace', '[a-zA-z.0-9_\-]+'); |
@@ -30,7 +30,7 @@ discard block |
||
| 30 | 30 | 'setting' => 'app_name', |
| 31 | 31 | 'prefix' => 'groups', |
| 32 | 32 | 'as' => 'groups.', |
| 33 | - ], function ($router) { |
|
| 33 | + ], function($router) { |
|
| 34 | 34 | $router->get('/', [ |
| 35 | 35 | 'as' => 'index', |
| 36 | 36 | 'uses' => 'GroupsController@index', |
@@ -51,7 +51,7 @@ discard block |
||
| 51 | 51 | 'middleware' => ['app.hasSetting'], |
| 52 | 52 | 'setting' => 'app_name', |
| 53 | 53 | 'as' => 'groups.', |
| 54 | - ], function ($router) { |
|
| 54 | + ], function($router) { |
|
| 55 | 55 | $router->get('{namespace}', [ |
| 56 | 56 | 'as' => 'group_show', |
| 57 | 57 | 'uses' => 'GroupsController@show', |
@@ -55,12 +55,12 @@ |
||
| 55 | 55 | 'setting' => 'app_name', |
| 56 | 56 | 'as' => 'projects.', |
| 57 | 57 | ], function ($router) { |
| 58 | - $router->get('{namespace}/{project}', [ |
|
| 58 | + $router->get('{namespace}/{project}', [ |
|
| 59 | 59 | 'as' => 'project_show', |
| 60 | 60 | 'uses' => 'ProjectsController@show', |
| 61 | 61 | ])->where('namespace', '[a-zA-z.0-9_\-]+')->where('project', '[a-zA-z.0-9_\-]+'); |
| 62 | 62 | |
| 63 | - $router->get('{namespace}/{project}/edit', [ |
|
| 63 | + $router->get('{namespace}/{project}/edit', [ |
|
| 64 | 64 | 'as' => 'project_edit', |
| 65 | 65 | 'uses' => 'ProjectsController@edit', |
| 66 | 66 | ])->where('namespace', '[a-zA-z.0-9_\-]+')->where('project', '[a-zA-z.0-9_\-]+'); |
@@ -32,7 +32,7 @@ discard block |
||
| 32 | 32 | 'setting' => 'app_name', |
| 33 | 33 | 'prefix' => 'projects', |
| 34 | 34 | 'as' => 'projects.', |
| 35 | - ], function ($router) { |
|
| 35 | + ], function($router) { |
|
| 36 | 36 | $router->get('/', [ |
| 37 | 37 | 'as' => 'index', |
| 38 | 38 | 'uses' => 'ProjectsController@index', |
@@ -54,7 +54,7 @@ discard block |
||
| 54 | 54 | 'middleware' => ['app.hasSetting'], |
| 55 | 55 | 'setting' => 'app_name', |
| 56 | 56 | 'as' => 'projects.', |
| 57 | - ], function ($router) { |
|
| 57 | + ], function($router) { |
|
| 58 | 58 | $router->get('{namespace}/{project}', [ |
| 59 | 59 | 'as' => 'project_show', |
| 60 | 60 | 'uses' => 'ProjectsController@show', |