redirect_to "course" wouldn't give the desired effect.