mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-10-01 01:36:00 -04:00
Updated listing endpoints to be clickable in api docs
This commit is contained in:
parent
00c0815808
commit
bf4a3b73f8
@ -189,7 +189,11 @@
|
||||
<h6 class="text-uppercase text-muted float right">{{ $endpoint['controller_method_kebab'] }}</h6>
|
||||
<h5 id="{{ $endpoint['name'] }}" class="text-mono mb-m">
|
||||
<span class="api-method" data-method="{{ $endpoint['method'] }}">{{ $endpoint['method'] }}</span>
|
||||
{{ url($endpoint['uri']) }}
|
||||
@if($endpoint['controller_method_kebab'] === 'list')
|
||||
<a style="color: inherit;" target="_blank" href="{{ url($endpoint['uri']) }}">{{ url($endpoint['uri']) }}</a>
|
||||
@else
|
||||
{{ url($endpoint['uri']) }}
|
||||
@endif
|
||||
</h5>
|
||||
<p class="mb-m">{{ $endpoint['description'] ?? '' }}</p>
|
||||
@if($endpoint['body_params'] ?? false)
|
||||
|
Loading…
Reference in New Issue
Block a user