View custom urls: fix and add spec