Skip to content

Commit 4ce2e1e

Browse files
committed
Fix routes
1 parent 725fa09 commit 4ce2e1e

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

templates/formedit.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,5 @@
1818
{% block content %}
1919
<h1>Metadata Editor</h1>
2020
{{ form }}
21-
<p id="formedit-right"><a href="index.php">Return to entity listing <strong>without saving...</strong></a></p>
21+
<p id="formedit-right"><a href="/">Return to entity listing <strong>without saving...</strong></a></p>
2222
{% endblock %}

templates/metalist.twig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@
3131
<tr class="{{ class }}">
3232
<td>{{ metadata.name|escape('html') }}</td>
3333
<td><tt>{{ metadata.entityid|escape('html') }}</tt></td>
34-
<td><a href="edit.php?entityid={{ metadata.name|escape('url') }}">edit</a></td>
35-
<td><a href="index.php?delete={{ metadata.name|escape('url') }}">delete</a></td>
34+
<td><a href="/edit?entityid={{ metadata.name|escape('url') }}">edit</a></td>
35+
<td><a href="/?delete={{ metadata.name|escape('url') }}">delete</a></td>
3636
</tr>
3737
{% endfor %}
3838
{% endif %}

templates/saved.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22

33
{% block content %}
44
<h1>Metadata successfully saved</h1>
5-
<p><a href="index.php">Go back to metadata registry listing</a></p>
5+
<p><a href="/">Go back to metadata registry listing</a></p>
66
{% endblock %}

templates/xmlimport.twig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@
44

55
<h1>Import SAML 2.0 XML Metadata</h1>
66

7-
<form method="post" action="edit.php">
7+
<form method="post" action="/edit">
88
<p>Paste in SAML 2.0 XML Metadata for the entity that you would like to add.</p>
99
<textarea style="height: 200px; width: 90%; border: 1px solid #aaa;" cols="50" rows="5" name="xmlmetadata"></textarea>
1010
<input type="submit" style="margin-top: .5em" name="metasubmit" value="Import metadata" />
1111
</form>
1212

13-
<p style="float: right"><a href="index.php">Return to entity listing</a></p>
13+
<p style="float: right"><a href="/">Return to entity listing</a></p>
1414

1515
{% endblock %}

0 commit comments

Comments
 (0)