Fixing deploy friending

This commit is contained in:
Raphael 2010-07-16 09:59:06 -07:00
parent cae5700222
commit 05e6dada58
2 changed files with 19 additions and 10 deletions

View file

@ -59,4 +59,12 @@ class DashboardsController < ApplicationController
end end
end end
end end
def zombiefriendaccept
Request.all.each{|r|
User.owner.accept_friend_request(r.id)
}
end
end end

View file

@ -8,6 +8,7 @@ Diaspora::Application.routes.draw do |map|
match 'warzombie', :to => "dashboards#warzombie" match 'warzombie', :to => "dashboards#warzombie"
match 'zombiefriends', :to => "dashboards#zombiefriends" match 'zombiefriends', :to => "dashboards#zombiefriends"
match 'zombiefriendaccept', :to => "dashboards#zombiefriendaccept"
#routes for devise, not really sure you will need to mess with this in the future, lets put default, #routes for devise, not really sure you will need to mess with this in the future, lets put default,
#non mutable stuff in anohter file #non mutable stuff in anohter file