Skip to content

Commit 05a717b

Browse files
committed
Update config route
1 parent 860dc2e commit 05a717b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Providers/LaravelTrailingSlashServiceProvider.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@ public function boot()
1212
{
1313
if ($this->app->runningInConsole()) {
1414
$this->publishes([
15-
__DIR__ . '/../config/config.php' => config_path('laravel-trailing-slash.php'),
15+
__DIR__ . '/../../config/config.php' => config_path('laravel-trailing-slash.php'),
1616
], 'config');
1717
}
1818
}
1919

2020
public function register()
2121
{
22-
$this->mergeConfigFrom(__DIR__ . '/../config/config.php', 'laravel-trailing-slash');
22+
$this->mergeConfigFrom(__DIR__ . '/../../config/config.php', 'laravel-trailing-slash');
2323

2424
$this->app->singleton('url', function ($app) {
2525
$routes = $app['router']->getRoutes();

0 commit comments

Comments
 (0)