mirror of
https://github.com/retailcrm/NelmioApiDocBundle.git
synced 2025-02-02 15:51:48 +03:00
Add support for host in sandbox
This commit is contained in:
parent
8728e825ea
commit
f71ba12d48
@ -193,7 +193,7 @@
|
|||||||
|
|
||||||
{% if enableSandbox %}
|
{% if enableSandbox %}
|
||||||
<div class="pane sandbox">
|
<div class="pane sandbox">
|
||||||
<form method="{{ data.method|upper }}" action="{{ data.uri }}">
|
<form method="{{ data.method|upper }}" action="{% if data.host is defined %}{{ data.https ? 'https://' : 'http://' }}{{ data.host }}{% endif %}{{ data.uri }}">
|
||||||
<fieldset class="parameters">
|
<fieldset class="parameters">
|
||||||
<legend>Input</legend>
|
<legend>Input</legend>
|
||||||
{% if data.requirements is defined %}
|
{% if data.requirements is defined %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user