add path view helper à la @joshrowley

not totally sure what this is for, but it's needed on the carrot.is site