add trailing slashes to /edition/ and /sample/ endpoints