Made it green now making it clean
This commit is contained in:
parent
45f3eb2a9a
commit
f3f2eb5abf
1 changed files with 2 additions and 2 deletions
|
|
@ -37,8 +37,6 @@ def warzombie
|
||||||
|
|
||||||
def zombiefriendaccept
|
def zombiefriendaccept
|
||||||
render :nothing => true
|
render :nothing => true
|
||||||
set_profile_photo
|
|
||||||
|
|
||||||
Request.all.each{|r|
|
Request.all.each{|r|
|
||||||
current_user.accept_and_respond(r.id, current_user.groups.first.id)
|
current_user.accept_and_respond(r.id, current_user.groups.first.id)
|
||||||
}
|
}
|
||||||
|
|
@ -58,6 +56,8 @@ def warzombie
|
||||||
end
|
end
|
||||||
|
|
||||||
def set_profile_photo
|
def set_profile_photo
|
||||||
|
|
||||||
|
render :nothing => true
|
||||||
album = current_user.post(:album, :name => "Profile Photos")
|
album = current_user.post(:album, :name => "Profile Photos")
|
||||||
|
|
||||||
backer_number = YAML.load_file(Rails.root.join('config','backer_number.yml'))[:seed_number].to_i
|
backer_number = YAML.load_file(Rails.root.join('config','backer_number.yml'))[:seed_number].to_i
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue