Added type check for security update
Added type check for security update

Line 40:

if !user.id.is_a? Integer
      flash[:error] = "Illegal parameter."
michaelamoran/expertiza,expertiza/expertiza,arpitashekhar/expertiza,michaelamoran/expertiza,akshayjain114/expertiza,kira0992/expertiza,akshayjain114/expertiza,KunmiaoYang/expertiza,urmilparikh95/expertiza,KunmiaoYang/expertiza,arpitashekhar/expertiza,urmilparikh95/expertiza,KunmiaoYang/expertiza,michaelamoran/expertiza,urmilparikh95/expertiza,expertiza/expertiza,kira0992/expertiza,akshayjain114/expertiza,KunmiaoYang/expertiza,kira0992/expertiza,expertiza/expertiza,urmilparikh95/expertiza,arpitashekhar/expertiza,arpitashekhar/expertiza,kira0992/expertiza,akshayjain114/expertiza,expertiza/expertiza,michaelamoran/expertiza