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

@@ -42,7 +42,7 @@ class ZulipSession extends Session
@parse_page_params()
@update_active_status()
@post '/json/get_bots'
@get '/json/bots'
@post '/json/get_old_messages', {
anchor: @pointer
num_before: 200