Skip to content

Commit

Permalink
Fix view creator
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastiandedeyne committed Oct 15, 2018
1 parent a1375b2 commit d47746e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

All notable changes to `laravel-googletagmanager` will be documented in this file

## 2.5.1 - 2018-10-15
- Fixed view creator

## 2.5.0 - 2018-07-25
- Separate the script to head and body sections

Expand Down
2 changes: 1 addition & 1 deletion src/GoogleTagManagerServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public function boot()
], 'views');

$this->app['view']->creator(
['googletagmanager::head', 'googletagmanager::body'],
['googletagmanager::head', 'googletagmanager::body', 'googletagmanager::script'],
'Spatie\GoogleTagManager\ScriptViewCreator'
);
}
Expand Down

0 comments on commit d47746e

Please sign in to comment.