@@ -7,20 +7,20 @@ |
||
7 | 7 | |
8 | 8 | class GridViewServiceProvider extends ServiceProvider |
9 | 9 | { |
10 | - /** |
|
11 | - * Service provider for grid. |
|
12 | - * |
|
13 | - * @return void |
|
14 | - */ |
|
15 | - public function boot() |
|
16 | - { |
|
17 | - $this->loadViewsFrom(__DIR__ . '/../resources/views', 'churakovmike_easygrid'); |
|
10 | + /** |
|
11 | + * Service provider for grid. |
|
12 | + * |
|
13 | + * @return void |
|
14 | + */ |
|
15 | + public function boot() |
|
16 | + { |
|
17 | + $this->loadViewsFrom(__DIR__ . '/../resources/views', 'churakovmike_easygrid'); |
|
18 | 18 | |
19 | - require_once __DIR__ . '/functions.php'; |
|
19 | + require_once __DIR__ . '/functions.php'; |
|
20 | 20 | Blade::directive('easy_grid', function ($config) { |
21 | 21 | return "<?php echo grid($config) ?>"; |
22 | 22 | }); |
23 | - } |
|
23 | + } |
|
24 | 24 | |
25 | 25 | public function register() |
26 | 26 | { |