Use to_param instead of id method to route to a singular resource.
Merge pull request #2175 from cknoxrun/2173-router-should-use-to_param

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