From: Dan Brown Date: Fri, 22 May 2020 23:53:13 +0000 (+0100) Subject: Updated listing endpoints to be clickable in api docs X-Git-Tag: v0.30.0~1^2~50 X-Git-Url: http://source.bookstackapp.com/bookstack/commitdiff_plain/bf4a3b73f87f7ce4f107ca45a292ab038703f20b Updated listing endpoints to be clickable in api docs --- diff --git a/resources/views/api-docs/index.blade.php b/resources/views/api-docs/index.blade.php index e92b505cf..d9c3d6595 100644 --- a/resources/views/api-docs/index.blade.php +++ b/resources/views/api-docs/index.blade.php @@ -189,7 +189,11 @@
{{ $endpoint['controller_method_kebab'] }}
{{ $endpoint['method'] }} - {{ url($endpoint['uri']) }} + @if($endpoint['controller_method_kebab'] === 'list') + {{ url($endpoint['uri']) }} + @else + {{ url($endpoint['uri']) }} + @endif

{{ $endpoint['description'] ?? '' }}

@if($endpoint['body_params'] ?? false)