Use to_param instead of id method to route to a singular resource.

The routing should use to_param as the default ID resolver for routes. All tests pass. I wasn't sure if I should add another model to test this functionality.