@@ -1,9 +1,9 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -$router->bind('block', function ($id) { |
|
3 | +$router->bind('block', function($id) { |
|
4 | 4 | return app(\Modules\Block\Repositories\BlockRepository::class)->find($id); |
5 | 5 | }); |
6 | -$router->group(['prefix' => '/block'], function () { |
|
6 | +$router->group([ 'prefix' => '/block' ], function() { |
|
7 | 7 | get('blocks', [ |
8 | 8 | 'as' => 'admin.block.block.index', |
9 | 9 | 'uses' => 'BlockController@index', |