refactor(redirect): replace redirect calls with redirectRoute helper for consistency

This commit is contained in:
Andras Bacsai
2025-12-26 13:29:53 +01:00
parent 5d98847e49
commit ef1abe17b8
20 changed files with 25 additions and 25 deletions

View File

@@ -58,7 +58,7 @@ class Create extends Component
session(['from' => session('from') + ['source_id' => $github_app->id]]);
}
return redirect()->route('source.github.show', ['github_app_uuid' => $github_app->uuid]);
return redirectRoute($this, 'source.github.show', ['github_app_uuid' => $github_app->uuid]);
} catch (\Throwable $e) {
return handleError($e, $this);
}