MS IZ now we can unsubscribe...probally

This commit is contained in:
maxwell 2010-07-15 10:43:18 -07:00
parent 99446d82c4
commit 1412265150

View file

@ -16,10 +16,8 @@ class PublicsController < ApplicationController
end end
def hubbub def hubbub
puts params.inspect if params['hub.mode'] == 'subscribe' || params['hub.mode'] == 'unsubscribe'
if params['hub.mode'] == "subscribe"
render :text => params['hub.challenge'], :status => 202 render :text => params['hub.challenge'], :status => 202
end end
end end
end end