Use redirect_to_certificate in latest controller method