aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/CommandDialogController.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-12-15 15:02:01 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2015-12-15 15:02:01 +1300
commit4113e28eda3df4725cc72527216a02d1b9cfed17 (patch)
tree75454f6873da40f13b4f2e1fe72591fdfe1037d9 /web/app/view/CommandDialogController.js
parentf5ab3489c9abdc825dd5297829119813740e32e6 (diff)
downloadtrackermap-server-4113e28eda3df4725cc72527216a02d1b9cfed17.tar.gz
trackermap-server-4113e28eda3df4725cc72527216a02d1b9cfed17.tar.bz2
trackermap-server-4113e28eda3df4725cc72527216a02d1b9cfed17.zip
Enable only REST API by default
Diffstat (limited to 'web/app/view/CommandDialogController.js')
-rw-r--r--web/app/view/CommandDialogController.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/app/view/CommandDialogController.js b/web/app/view/CommandDialogController.js
index bf2fe4fde..93109a2d6 100644
--- a/web/app/view/CommandDialogController.js
+++ b/web/app/view/CommandDialogController.js
@@ -42,7 +42,7 @@ Ext.define('Traccar.view.CommandDialogController', {
Ext.Ajax.request({
scope: this,
- url: '/api/rest/commands',
+ url: '/api/commands',
jsonData: record.getData(),
callback: this.onSendResult
});