Fix some redirects now that self::class,'home' is no longer defined

This commit is contained in:
2023-10-05 23:28:18 +11:00
parent 7a9b6d5015
commit 4616feacda
9 changed files with 10 additions and 9 deletions

View File

@@ -42,7 +42,7 @@
<dl>
<dt>Users</dt>
<dd><a href="{{ url('user/addedit') }}">Create</a></dd>
<dd><a href="{{ url('user/list') }}">List</a></dd>
<dd><a href="{{ url('user') }}">List</a></dd>
</dl>
@endcan
@endauth

View File

@@ -119,7 +119,7 @@
<div class="row">
<div class="col-12">
<a href="{{ url('user/list') }}" class="btn btn-danger">Cancel</a>
<a href="{{ url('user') }}" class="btn btn-danger">Cancel</a>
@can('admin',$o)
<button type="submit" name="submit" class="btn btn-success float-end">@if ($o->exists)Save @else Add @endif</button>
@endcan