Consolidate upgrade-status routes into single group
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
43ede6c523
commit
d111f448f5
1 changed files with 2 additions and 9 deletions
|
|
@ -25,16 +25,9 @@
|
||||||
Route::get('/health', [OtherController::class, 'healthcheck']);
|
Route::get('/health', [OtherController::class, 'healthcheck']);
|
||||||
});
|
});
|
||||||
|
|
||||||
Route::group([
|
Route::middleware(['web', 'auth'])->group(function () {
|
||||||
'middleware' => ['web', 'auth'],
|
|
||||||
], function () {
|
|
||||||
Route::get('/upgrade-status', [OtherController::class, 'upgradeStatus']);
|
|
||||||
});
|
|
||||||
Route::group([
|
|
||||||
'middleware' => ['web', 'auth'],
|
|
||||||
'prefix' => 'v1',
|
|
||||||
], function () {
|
|
||||||
Route::get('/upgrade-status', [OtherController::class, 'upgradeStatus']);
|
Route::get('/upgrade-status', [OtherController::class, 'upgradeStatus']);
|
||||||
|
Route::get('/v1/upgrade-status', [OtherController::class, 'upgradeStatus']);
|
||||||
});
|
});
|
||||||
|
|
||||||
Route::post('/feedback', [OtherController::class, 'feedback']);
|
Route::post('/feedback', [OtherController::class, 'feedback']);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue