Skip to content

Commit

Permalink
Bugfix reroute for the build configure page (#2016)
Browse files Browse the repository at this point in the history
This change fixes to a typo in the pluralization rerouting logic
(introduced in #1900) that broke
all existing references to the url: `build/<buildid>/configure`.
  • Loading branch information
sbelsk authored Feb 6, 2024
1 parent ed10e56 commit bb1df5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion routes/web.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
});

Route::get('/builds/{id}/configure', 'BuildController@configure');
Route::permanentRedirect('/builds/{id}/configure', '/builds/{id}/configure');
Route::permanentRedirect('/build/{id}/configure', '/builds/{id}/configure');
Route::get('/viewConfigure.php', function (Request $request) {
$buildid = $request->query('buildid');
return redirect("/builds/{$buildid}/configure", 301);
Expand Down

0 comments on commit bb1df5f

Please sign in to comment.