mirror of
https://github.com/diaspora/diaspora.git
synced 2026-04-29 03:01:03 -04:00
DG IZ made the selector box going to the right thing by passing only the id
This commit is contained in:
@@ -8,7 +8,7 @@ class RequestsController < ApplicationController
|
||||
|
||||
def destroy
|
||||
if params[:accept]
|
||||
@friend = current_user.accept_and_respond( params[:id], current_user.group_by_id(params[:group_id]))
|
||||
@friend = current_user.accept_and_respond( params[:id], params[:group_id])
|
||||
|
||||
flash[:notice] = "you are now friends"
|
||||
redirect_to root_url
|
||||
|
||||
Reference in New Issue
Block a user