Replace hard coded url

This commit is contained in:
Lance Pioch 2024-05-11 21:56:12 -04:00
parent 259599b441
commit 2c98693bd2

View File

@ -167,7 +167,7 @@ class EditProfile extends \Filament\Pages\Auth\EditProfile
->columnSpanFull(),
])->headerActions([
Action::make('Create')
->successRedirectUrl('/panel/profile?tab=-api-keys-tab')
->successRedirectUrl(route('filament.admin.auth.profile', ['tab' => '-api-keys-tab']))
->action(function (Get $get, Action $action) {
$token = auth()->user()->createToken(
$get('description'),