MS IZ taking out URL options in sockets helper. hopefully the websocket doesnt blow up

This commit is contained in:
maxwell 2010-08-10 14:11:41 -07:00
parent b5f962c725
commit 016c8fa471
2 changed files with 5 additions and 5 deletions

View file

@ -5,9 +5,9 @@ module SocketsHelper
(object.is_a? Post) ? object.id : object.post_id
end
def url_options
{:host => ""}
end
#def url_options
# {:host => ""}
#end
def action_hash(uid, object)
begin

View file

@ -1,9 +1,9 @@
<?xml version='1.0' encoding='UTF-8'?>
<XRD xmlns='http://docs.oasis-open.org/ns/xri/xrd-1.0'
xmlns:hm='http://host-meta.net/xrd/1.0'>
<hm:Host><%= terse_url(root_path) %></hm:Host>
<hm:Host><%= terse_url(root_url) %></hm:Host>
<Link rel='lrdd'
template='<%= root_path %>webfinger?q={uri}'>
template='<%= root_url %>webfinger?q={uri}'>
<Title>Resource Descriptor</Title>
</Link>
</XRD>