DOMAIN in defined in .env and so ENV not a global

This commit is contained in:
Albert Sun 2013-04-05 18:00:48 -04:00
parent a54d2619e1
commit 5cce983d06

View file

@ -9,7 +9,7 @@ module Agents
<<-MD
The UserLocationAgent creates events based on WebHook POSTS that contain a `latitude` and `longitude`. You can use the POSTLocation iOS app to post your location.
Your POST path will be `https://#{DOMAIN}/users/#{user.id}/update_location/:secret` where `:secret` is specified in your options.
Your POST path will be `https://#{ENV['DOMAIN']}/users/#{user.id}/update_location/:secret` where `:secret` is specified in your options.
MD
end