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 f907ecd commit ad22295Copy full SHA for ad22295
src/Providers/LaravelUserMonitoringServiceProvider.php
@@ -38,6 +38,7 @@ public function boot()
38
$this->publishMigrations();
39
$this->publishViews();
40
$this->publishMiddleware();
41
+ $this->publishRoute();
42
43
$this->viewComposer();
44
}
@@ -90,6 +91,18 @@ private function publishMiddleware()
90
91
], 'laravel-user-monitoring-middlewares');
92
93
94
+ /**
95
+ * Publish route files.
96
+ *
97
+ * @return void
98
+ */
99
+ private function publishRoute()
100
+ {
101
+ $this->publishes([
102
+ __DIR__ . '/../../routes/web.php' => base_path('routes/user-monitoring.php'),
103
+ ], 'laravel-user-monitoring-routes');
104
+ }
105
+
106
/**
107
* View Composer.
108
*
0 commit comments