diff --git a/src/Providers/SocialServiceProvider.php b/src/Providers/SocialServiceProvider.php index d3a96c4..cc397c8 100644 --- a/src/Providers/SocialServiceProvider.php +++ b/src/Providers/SocialServiceProvider.php @@ -29,6 +29,7 @@ public function register(): void public function boot() { + $this->publishFiles(); $this->registerRouter(); @@ -36,8 +37,6 @@ public function boot() $this->registerLang(); - $this->publishFiles(); - $this->registerCommands(); $this->loadBlade(); diff --git a/src/routes/social.php b/src/routes/social.php index 4a32472..2c7ab27 100644 --- a/src/routes/social.php +++ b/src/routes/social.php @@ -4,7 +4,7 @@ use Sashagm\Social\Http\Controllers\AuthController; use Sashagm\Social\Http\Controllers\LoginController; -$routes = config('socials.routes', []); +$routes = config('socials.routes', []); Route::group(['middleware' => ['web', 'guest'], 'prefix' => config('socials.admin_prefix')], function () use ($routes) {