Refactor package URL generation

This commit is contained in:
rubenwardy
2021-07-24 04:30:14 +01:00
parent 187202d363
commit 4e83adc032
35 changed files with 129 additions and 198 deletions

View File

@@ -23,7 +23,7 @@ Remove {{ package.title }}
<input type="hidden" name="csrf_token" value="{{ csrf_token() }}" />
<a class="btn btn-secondary float-right" href="{{ package.getDetailsURL() }}">Cancel</a>
<a class="btn btn-secondary float-right" href="{{ package.getURL("packages.view") }}">Cancel</a>
<input type="submit" name="delete" value="Remove" class="btn btn-danger mr-2" />