diff options
author | Louise Crow <louise.crow@gmail.com> | 2013-08-15 10:24:08 +0100 |
---|---|---|
committer | Louise Crow <louise.crow@gmail.com> | 2013-08-15 10:24:08 +0100 |
commit | c2fe6bec28a9b43c84b58fde305b19d179760c13 (patch) | |
tree | 466354ca48819f291b7d552de0078af3eb55682c /app/controllers/api_controller.rb | |
parent | 212dcc44e73e29ff0852aead03e38806705bdc99 (diff) | |
parent | 8714cf41012ad039f4bc97ba00593414468497e1 (diff) |
Merge branch 'feature/further-request-event-fixes' into rails-3-develop
Diffstat (limited to 'app/controllers/api_controller.rb')
-rw-r--r-- | app/controllers/api_controller.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/controllers/api_controller.rb b/app/controllers/api_controller.rb index 49b226e4b..e7bea67ef 100644 --- a/app/controllers/api_controller.rb +++ b/app/controllers/api_controller.rb @@ -63,6 +63,8 @@ class ApiController < ApplicationController :smtp_message_id => nil ) + request.set_described_state('waiting_response') + # Return the URL and ID number. render :json => { 'url' => make_url("request", request.url_title), |