fix param name

This commit is contained in:
Bilal
2020-09-17 20:23:58 +03:00
parent f459052fcb
commit 73eb22dbfd
2 changed files with 5 additions and 3 deletions

View File

@@ -27,7 +27,7 @@ class HomiesController < ApplicationController
end
def settle
homie_id = params[:homy_id].to_i
homie_id = params[:homie_id].to_i
homie = Homie.find(homie_id)
if homie.settle