I tried writing my routes in these 2 ways but both of them result into a fatal error. I don\'t understand why. It looks like it has to do with the constraint.