Skip to content

Commit

Permalink
Merge pull request #94 from matthewhall-ca/master
Browse files Browse the repository at this point in the history
  • Loading branch information
KABBOUCHI authored Oct 17, 2021
2 parents c20e102 + 097e32d commit 199a078
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/ToolServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ class ToolServiceProvider extends ServiceProvider
*/
public function boot()
{
Nova::script('nova-impersonate', __DIR__.'/../dist/js/field.js');

$this->loadViewsFrom(__DIR__.'/../resources/views', 'nova-impersonate');

$this->publishes([
Expand All @@ -37,7 +35,7 @@ public function boot()
});

Nova::serving(function (ServingNova $event) {
//
Nova::script('nova-impersonate', __DIR__.'/../dist/js/field.js');
});
}

Expand Down

0 comments on commit 199a078

Please sign in to comment.