fix deprecation warning for rails 4.1 on delete confirm links