Fixing deploy friending
This commit is contained in:
parent
cae5700222
commit
05e6dada58
2 changed files with 19 additions and 10 deletions
|
|
@ -59,4 +59,12 @@ class DashboardsController < ApplicationController
|
|||
end
|
||||
end
|
||||
end
|
||||
|
||||
def zombiefriendaccept
|
||||
|
||||
Request.all.each{|r|
|
||||
User.owner.accept_friend_request(r.id)
|
||||
}
|
||||
end
|
||||
|
||||
end
|
||||
|
|
|
|||
|
|
@ -8,6 +8,7 @@ Diaspora::Application.routes.draw do |map|
|
|||
|
||||
match 'warzombie', :to => "dashboards#warzombie"
|
||||
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,
|
||||
#non mutable stuff in anohter file
|
||||
|
|
|
|||
Loading…
Reference in a new issue