Fix bug.
This commit is contained in:
parent
3691a14c64
commit
1dca65f863
|
@ -159,7 +159,7 @@ class Admin::PropertyHiresController < OrbitAdminController
|
||||||
phire.passed = false
|
phire.passed = false
|
||||||
end
|
end
|
||||||
phire.save
|
phire.save
|
||||||
email = [hire.hiring_person_email].select{|e| e.present?}
|
email = [phire.hiring_person_email].select{|e| e.present?}
|
||||||
Admin::PropertyHiresHelper::HireMethod.send_mail('p_hire',email,phire.property.id,nil,hire.id,(current_user.id rescue nil))
|
Admin::PropertyHiresHelper::HireMethod.send_mail('p_hire',email,phire.property.id,nil,hire.id,(current_user.id rescue nil))
|
||||||
if params[:ref] == "index"
|
if params[:ref] == "index"
|
||||||
if params[:page]
|
if params[:page]
|
||||||
|
|
Loading…
Reference in New Issue