Register the routes of snippets