@@ -88,13 +88,13 @@ |
||
| 88 | 88 | public function feedAction(ProjectNamespace $namespace = null) |
| 89 | 89 | { |
| 90 | 90 | if ($namespace->exists) { |
| 91 | - $namespace->projects->map(function ($project) { |
|
| 92 | - $project->issues()->visible()->orderBy('created_at', 'desc')->get()->map(function ($issue) { |
|
| 91 | + $namespace->projects->map(function($project) { |
|
| 92 | + $project->issues()->visible()->orderBy('created_at', 'desc')->get()->map(function($issue) { |
|
| 93 | 93 | $this->feedAddItem($issue); |
| 94 | 94 | }); |
| 95 | 95 | }); |
| 96 | 96 | } else { |
| 97 | - Issue::visible()->orderBy('created_at', 'desc')->get()->map(function ($issue) { |
|
| 97 | + Issue::visible()->orderBy('created_at', 'desc')->get()->map(function($issue) { |
|
| 98 | 98 | $this->feedAddItem($issue); |
| 99 | 99 | }); |
| 100 | 100 | } |
@@ -30,7 +30,7 @@ discard block |
||
| 30 | 30 | $router->group([ |
| 31 | 31 | 'middleware' => ['app.hasSetting'], |
| 32 | 32 | 'setting' => 'app_name', |
| 33 | - ], function ($router) { |
|
| 33 | + ], function($router) { |
|
| 34 | 34 | $router->get('/', [ |
| 35 | 35 | 'as' => 'index', |
| 36 | 36 | 'uses' => 'ExploreController@index', |
@@ -39,7 +39,7 @@ discard block |
||
| 39 | 39 | }); |
| 40 | 40 | |
| 41 | 41 | //Install Area |
| 42 | - $router->group(['middleware' => ['app.isInstalled', 'localize']], function ($router) { |
|
| 42 | + $router->group(['middleware' => ['app.isInstalled', 'localize']], function($router) { |
|
| 43 | 43 | $router->controller('install', 'InstallController'); |
| 44 | 44 | }); |
| 45 | 45 | |
@@ -49,7 +49,7 @@ discard block |
||
| 49 | 49 | 'setting' => 'app_name', |
| 50 | 50 | 'prefix' => 'explore', |
| 51 | 51 | 'as' => 'explore.', |
| 52 | - ], function ($router) { |
|
| 52 | + ], function($router) { |
|
| 53 | 53 | $router->get('/', [ |
| 54 | 54 | 'as' => 'index', |
| 55 | 55 | 'uses' => 'ExploreController@index', |
@@ -66,7 +66,7 @@ discard block |
||
| 66 | 66 | $router->group([ |
| 67 | 67 | 'middleware' => 'app.hasSetting', |
| 68 | 68 | 'setting' => 'app_name', |
| 69 | - ], function ($router) { |
|
| 69 | + ], function($router) { |
|
| 70 | 70 | $router->get('/atom/{namespace?}', [ |
| 71 | 71 | 'as' => 'feed.atom', |
| 72 | 72 | 'uses' => 'FeedController@atomAction', |