Skip to content

Commit

Permalink
Merge pull request #7 from samrap/samrap-fix-class-name
Browse files Browse the repository at this point in the history
Update factory bindings to reference the proper class.
  • Loading branch information
stefanbauer authored Apr 14, 2020
2 parents cfd4faa + e3cfca1 commit 403afaa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ZondiconsServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class ZondiconsServiceProvider extends ServiceProvider
{
public function boot()
{
app(IconFactory::class)->registerBladeTag();
app(SvgFactory::class)->registerBladeTag();

$this->publishes([
__DIR__.'/../config/zondicons.php' => config_path('zondicons.php'),
Expand All @@ -19,7 +19,7 @@ public function boot()

public function register()
{
$this->app->singleton(IconFactory::class, function () {
$this->app->singleton(SvgFactory::class, function () {
$config = array_merge([
'icon_path' => base_path('vendor/zondicons/blade-bridge/resources/icons'),
'spritesheet_path' => base_path('vendor/zondicons/blade-bridge/resources/sprite.svg'),
Expand Down

0 comments on commit 403afaa

Please sign in to comment.