Errors if a resource is registered twice
Merge pull request #3 from Keats/router2

Errors if a resource is registered twice