Fixed uri bug

- Fixed bug that messed with routing when a trailing slash was used
- Index actions can now be method-specific