Call right method in dev_utilities, clear junk out of comments helper
This commit is contained in:
parent
1f0ca49ce5
commit
e2d5bf909f
2 changed files with 2 additions and 8 deletions
|
|
@ -39,7 +39,7 @@ def warzombie
|
||||||
def zombiefriendaccept
|
def zombiefriendaccept
|
||||||
render :nothing => true
|
render :nothing => true
|
||||||
Request.all.each{|r|
|
Request.all.each{|r|
|
||||||
current_user.accept_friend_request(r.id, current_user.groups.first.id)
|
current_user.accept_and_respond(r.id, current_user.groups.first.id)
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,3 @@
|
||||||
module CommentsHelper
|
module CommentsHelper
|
||||||
def target
|
|
||||||
|
|
||||||
end
|
|
||||||
|
|
||||||
def text
|
|
||||||
params[:comment][:text]
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue