mirror of
https://github.com/retailcrm/NelmioApiDocBundle.git
synced 2025-02-09 02:59:27 +03:00
Merge pull request #277 from adriensamson/sandbox-host
Add support for host in sandbox
This commit is contained in:
commit
f94d6403f5
@ -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