mirror of
https://github.com/beatriceo/polyglot.git
synced 2025-10-25 18:52:11 +00:00
done
This commit is contained in:
@@ -15,4 +15,10 @@ class ConnectionsController < ApplicationController
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
def destroy
|
||||
connection = current_user.connections.find_by(contact_id: params[:id].to_i)
|
||||
connection.destroy
|
||||
redirect_to root_path
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user