diff options
author | Matthew Landauer <matthew@openaustralia.org> | 2013-02-13 19:15:51 +1100 |
---|---|---|
committer | Matthew Landauer <matthew@openaustralia.org> | 2013-02-15 12:22:23 +1100 |
commit | ba15c9b78dca182f74281d7354e77942860259e7 (patch) | |
tree | d41be388f194bc3bdbc58c08c07341e948626a31 /app/controllers/api_controller.rb | |
parent | 8e8f8bb435ad66deaf9d7a9eb1ec221fde3540d2 (diff) |
Rename helper method
Diffstat (limited to 'app/controllers/api_controller.rb')
-rw-r--r-- | app/controllers/api_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/api_controller.rb b/app/controllers/api_controller.rb index 0d6582773..aa1ea632f 100644 --- a/app/controllers/api_controller.rb +++ b/app/controllers/api_controller.rb @@ -220,7 +220,7 @@ class ApiController < ApplicationController :event_id => event.id, :created_at => event.created_at.iso8601, :event_type => event.event_type, - :request_url => main_url(request_url(request)), + :request_url => main_url(request_path(request)), :request_email => request.incoming_email, :title => request.title, :body => event.outgoing_message.body, |