Resource: attribute singular

Singular resources are one of a kind. Their name in URL
is not pluralized. Action Index does not exist.
Actions: route attribute can be a proc or a lambda

In such a case, it is called with resource object as an argument.
The callable must return a string.
Default actions: support singular resource
Add parameter type Float