Merge branch 'fix-bug-delete-homie' into 'master'

Bug fix - delete homie

See merge request saburly/gangsta/roraccounting!16
This commit was merged in pull request #16.
This commit is contained in:
Bilal Catic
2020-10-06 06:31:00 +00: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