mirror of
https://gitlab.linphone.org/BC/public/flexisip-account-manager.git
synced 2026-01-17 10:08:05 +00:00
Fix FLEXIAPI-329 Use correct routes for accounts devices
This commit is contained in:
parent
6b589d1d0f
commit
f20056ec73
4 changed files with 4 additions and 5 deletions
|
|
@ -46,6 +46,8 @@ v2.0
|
|||
- Fix FLEXIAPI-322 Api Keys documentation
|
||||
- Fix FLEXIAPI-328 Set realm on Space creation, limit the update if some accounts are present
|
||||
- Fix FLEXIAPI-325 Add endpoints to send the password reset and provisioning emails
|
||||
- Fix FLEXIAPI-332 Check if the first line was untouched and that the number of columns is exact on each lines
|
||||
- Fix FLEXIAPI-329 Use correct routes for accounts devices
|
||||
|
||||
v1.6
|
||||
----
|
||||
|
|
|
|||
|
|
@ -62,6 +62,6 @@ class AccountDeviceController extends Controller
|
|||
|
||||
$connector->deleteDevice($account->identifier, $request->get('uuid'));
|
||||
|
||||
return redirect()->route('admin.account.device.index', $account);
|
||||
return redirect()->route('admin.account.show', $account);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -3,9 +3,6 @@
|
|||
@section('breadcrumb')
|
||||
@include('admin.account.parts.breadcrumb_accounts_index')
|
||||
@include('admin.account.parts.breadcrumb_accounts_show', ['account' => $account])
|
||||
<li class="breadcrumb-item">
|
||||
<a href="{{ route('admin.account.device.index', $account) }}">Devices</a>
|
||||
</li>
|
||||
<li class="breadcrumb-item active" aria-current="page">{{ __('Delete') }}</li>
|
||||
@endsection
|
||||
|
||||
|
|
|
|||
|
|
@ -147,7 +147,7 @@
|
|||
<tr>
|
||||
<td class="line">{{ $device->user_agent }}</td>
|
||||
<td class="actions">
|
||||
<a type="button" class="btn small tertiary" href="{{ route('admin.account.device.delete', [$device->uuid]) }}">
|
||||
<a type="button" class="btn small tertiary" href="{{ route('admin.account.device.delete', [$account->id, $device->uuid]) }}">
|
||||
<i class="ph">trash</i>
|
||||
</a>
|
||||
</td>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue