We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dbb48fb commit a474171Copy full SHA for a474171
src/Laravel/ServiceProvider.php
@@ -24,19 +24,13 @@ public function boot()
24
*/
25
public function register()
26
{
27
- $configPath = realpath(__DIR__ . '/../config/loggableModels.php');
28
-
29
- $this->publishes([$configPath => $this->getConfigPath()], 'config');
30
31
$this->publishes([ realpath( __DIR__ . '/../database/migrations/' ) => database_path('migrations')], 'migrations');
32
33
// Define Custom Polymorphic Types
34
Relation::morphMap([
35
36
]);
37
38
- $this->mergeConfigFrom($configPath, 'loggableModels');
39
40
$this->app->bind('loggable-models', function () {
41
return new ModelLogHandler();
42
});
0 commit comments