MS i really wanna subscribe to tantek

This commit is contained in:
maxwell 2010-07-22 22:14:06 -07:00
parent 0fdce91756
commit 8c50ea0c97

View file

@ -6,7 +6,7 @@ module RequestsHelper
elsif ostatus?(profile) elsif ostatus?(profile)
:subscribe :subscribe
else else
:none :subscribe
end end
end end
@ -29,7 +29,7 @@ module RequestsHelper
elsif action == :friend elsif action == :friend
profile.links.select{|x| x.rel == 'http://joindiaspora.com/seed_location'}.first.href profile.links.select{|x| x.rel == 'http://joindiaspora.com/seed_location'}.first.href
else else
'' nil
end end
end end
@ -42,6 +42,7 @@ module RequestsHelper
action = subscription_mode(f) action = subscription_mode(f)
url = subscription_url(action, f) url = subscription_url(action, f)
url ||=identifier
{ action => url } { action => url }
end end