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
8f4da0dc7b
commit
ab0755b2e9
4 changed files with 4 additions and 5 deletions
|
|
@ -46,6 +46,8 @@ v2.0
|
||||||
- Fix FLEXIAPI-322 Api Keys documentation
|
- Fix FLEXIAPI-322 Api Keys documentation
|
||||||
- Fix FLEXIAPI-328 Set realm on Space creation, limit the update if some accounts are present
|
- 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-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
|
v1.6
|
||||||
----
|
----
|
||||||
|
|
|
||||||
|
|
@ -62,6 +62,6 @@ class AccountDeviceController extends Controller
|
||||||
|
|
||||||
$connector->deleteDevice($account->identifier, $request->get('uuid'));
|
$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')
|
@section('breadcrumb')
|
||||||
@include('admin.account.parts.breadcrumb_accounts_index')
|
@include('admin.account.parts.breadcrumb_accounts_index')
|
||||||
@include('admin.account.parts.breadcrumb_accounts_show', ['account' => $account])
|
@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>
|
<li class="breadcrumb-item active" aria-current="page">{{ __('Delete') }}</li>
|
||||||
@endsection
|
@endsection
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -147,7 +147,7 @@
|
||||||
<tr>
|
<tr>
|
||||||
<td class="line">{{ $device->user_agent }}</td>
|
<td class="line">{{ $device->user_agent }}</td>
|
||||||
<td class="actions">
|
<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>
|
<i class="ph">trash</i>
|
||||||
</a>
|
</a>
|
||||||
</td>
|
</td>
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue