Skip to content

Commit

Permalink
move redirect
Browse files Browse the repository at this point in the history
  • Loading branch information
riasvdv committed Jan 29, 2025
1 parent b42b27e commit 9c44cdd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 0 additions & 2 deletions routes/redirects.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

use Illuminate\Support\Facades\Route;

Route::permanentRedirect('/products/laravel-backup-server', '/docs/laravel-backup-server');

Route::prefix('opensource')->group(function () {
Route::permanentRedirect('/', '/open-source');
Route::permanentRedirect('php', '/open-source');
Expand Down
2 changes: 2 additions & 0 deletions routes/web.php
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,8 @@
});

Route::prefix('products')->group(function () {
Route::permanentRedirect('laravel-backup-server', '/docs/laravel-backup-server');

Route::get('/', [ProductsController::class, 'index'])->name('products.index');
Route::get('{product:slug}', [ProductsController::class, 'show'])->name('products.show');
Route::get('{product:slug}/buy/{purchasable}/{license?}', [ProductsController::class, 'buy'])->name('products.buy');
Expand Down

0 comments on commit 9c44cdd

Please sign in to comment.