Update controller.php

Not sure why snippets is mapped to snippetID twice