Made it green now making it clean

This commit is contained in:
ilya 2010-08-24 15:43:53 -07:00
parent 45f3eb2a9a
commit f3f2eb5abf

View file

@ -37,8 +37,6 @@ def warzombie
def zombiefriendaccept
render :nothing => true
set_profile_photo
Request.all.each{|r|
current_user.accept_and_respond(r.id, current_user.groups.first.id)
}
@ -58,6 +56,8 @@ def warzombie
end
def set_profile_photo
render :nothing => true
album = current_user.post(:album, :name => "Profile Photos")
backer_number = YAML.load_file(Rails.root.join('config','backer_number.yml'))[:seed_number].to_i