| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php namespace Arcanesoft\Blog\Http\Routes\Foundation; |
||
| 23 | public function map(Registrar $router) |
||
| 24 | { |
||
| 25 | $this->group([ |
||
| 26 | 'prefix' => 'posts', |
||
| 27 | 'as' => 'posts.', |
||
| 28 | ], function () { |
||
| 29 | $this->get('/', [ |
||
| 30 | 'as' => 'index', // blog::foundation.posts.index |
||
| 31 | 'uses' => 'PostsController@index', |
||
| 32 | ]); |
||
| 33 | }); |
||
| 34 | } |
||
| 35 | } |
||
| 36 |