Use slug instead id in attendance classes URL