diff options
author | Louise Crow <louise.crow@gmail.com> | 2013-08-15 10:31:33 +0100 |
---|---|---|
committer | Louise Crow <louise.crow@gmail.com> | 2013-08-15 10:31:33 +0100 |
commit | 811977f9a92a9446e27a2239c4b3c2a9220e00ba (patch) | |
tree | 466354ca48819f291b7d552de0078af3eb55682c /app/controllers/api_controller.rb | |
parent | 7b4378487a87517267c13f74e3cf374983e8f3a0 (diff) | |
parent | c2fe6bec28a9b43c84b58fde305b19d179760c13 (diff) |
Merge branch 'rails-3-develop' into release/0.13
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), |