From 7ba85e0d4edf15f2d08721cca1ded7c68c89995b Mon Sep 17 00:00:00 2001 From: maxwell Date: Thu, 22 Jul 2010 22:22:08 -0700 Subject: [PATCH] MS tantek? --- app/helpers/requests_helper.rb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/helpers/requests_helper.rb b/app/helpers/requests_helper.rb index 5456c66d5..258d87e47 100644 --- a/app/helpers/requests_helper.rb +++ b/app/helpers/requests_helper.rb @@ -34,6 +34,10 @@ module RequestsHelper end def relationship_flow(identifier) + if identifier.include?('.atom') + return {:subscribe => identifier} + end + unless identifier.include?( '@' ) return {:friend => identifier} end @@ -42,7 +46,6 @@ module RequestsHelper action = subscription_mode(f) url = subscription_url(action, f) - url ||=identifier { action => url } end