mirror of
https://github.com/YunoHost/yunohost-admin.git
synced 2024-09-03 20:06:15 +02:00
Avoid extraneous route (#/apps/:app/changeurl/submit)
This commit is contained in:
parent
dba2f60ce1
commit
45a9250b7f
2 changed files with 2 additions and 2 deletions
|
@ -601,7 +601,7 @@
|
||||||
});
|
});
|
||||||
|
|
||||||
// Change app URL
|
// Change app URL
|
||||||
app.post('#/apps/:app/changeurl/submit', function (c) {
|
app.post('#/apps/:app/changeurl', function (c) {
|
||||||
c.confirm(
|
c.confirm(
|
||||||
y18n.t('applications'),
|
y18n.t('applications'),
|
||||||
y18n.t('confirm_app_change_url', [c.params['app']]),
|
y18n.t('confirm_app_change_url', [c.params['app']]),
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
|
|
||||||
<div class="separator"></div>
|
<div class="separator"></div>
|
||||||
|
|
||||||
<form action="#/apps/{{id}}/changeurl/submit" method="POST" class="form-horizontal form-app-install">
|
<form action="#/apps/{{id}}/changeurl" method="POST" class="form-horizontal form-app-install">
|
||||||
<div class="panel panel-default">
|
<div class="panel panel-default">
|
||||||
<div class="panel-heading">
|
<div class="panel-heading">
|
||||||
<h2 class="panel-title"><span class="fa-fw fa-exchange"></span> {{t 'app_change_url'}}</h2>
|
<h2 class="panel-title"><span class="fa-fw fa-exchange"></span> {{t 'app_change_url'}}</h2>
|
||||||
|
|
Loading…
Add table
Reference in a new issue