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

Line 85:

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