Fix missing closing bracket for redirect() method