To fix a bug in the example code for routes

The documentation is correct when it says to "add the 'has_permission' filter, but in the example code below that it incorrectly read "has_perm" instead. I've fixed that. There was also a missing comma in the array that breaks the example if it is copied and pasted.