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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user