Skip to content

Commit da10d96

Browse files
committed
Updated README
1 parent a8becfd commit da10d96

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

README.md

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,20 +10,18 @@ This bundle is compatible with Symfony 3 and 4. Use composer to install:
1010

1111
composer require krixer/google-map-form-type-bundle
1212

13-
Register the bundle in your `app/AppKernel.php`:
13+
Register the bundle in your `config/bundles.php`:
1414

1515
```php
16-
// app/AppKernel.php
17-
public function registerBundles()
18-
{
19-
$bundles = array(
20-
new Oh\GoogleMapFormTypeBundle\OhGoogleMapFormTypeBundle(),
21-
// ...
16+
// config/bundles.php
17+
return [
18+
// ...
19+
Oh\GoogleMapFormTypeBundle\OhGoogleMapFormTypeBundle::class => ['all' => true],
20+
];
2221
```
2322

24-
You might need to change a couple of options if you are trying to use Symfony 2.0
2523

26-
Add OhGoogleMapFormTypeBundle to assetic
24+
Create options file in `config/packages` directory
2725
```yaml
2826
# config/packages/oh_google_map_form_type.yaml
2927
oh_google_map_form_type:

0 commit comments

Comments
 (0)