Bug fix - delete homie #16

Merged
bilal.catic merged 1 commits from fix-bug-delete-homie into master 2020-10-06 08:31:01 +02:00

View File

@@ -13,7 +13,7 @@ class HomiesController < ApplicationController
end
def destroy
id = params[:id].to_i
id = params[:homie_id].to_i
if Homie.destroy(id)
index
else