Change get_bots API to use rest_dispatch

(imported from commit 921895dd636ba118a0f57e60a7bcb9dca1c7c605)
This commit is contained in:
Jason Michalski
2014-02-11 10:31:22 -05:00
parent 7822be5cd9
commit 9d973ff106
5 changed files with 8 additions and 8 deletions

View File

@@ -71,8 +71,8 @@ $(function () {
$("#name_change_container").hide();
}
channel.post({
url: '/json/get_bots',
channel.get({
url: '/json/bots',
idempotent: true,
success: function (data) {
$('#bot_table_error').hide();