MS IZ more fixes

This commit is contained in:
maxwell 2010-07-15 10:30:51 -07:00
parent f97218c005
commit 99446d82c4
2 changed files with 2 additions and 1 deletions

View file

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

View file

@ -18,7 +18,7 @@ Diaspora::Application.routes.draw do |map|
resources :users
match 'receive', :to => 'dashboards#receive'
match 'hub', :to => 'publics#hubbub'
match 'hubbub', :to => 'publics#hubbub'
match '.well-known/host-meta', :to => 'publics#host_meta'
match 'webfinger', :to => 'publics#webfinger'
root :to => 'dashboards#index'