Fix documentation of link_to when passing block

[ci skip]

When a block is passed the `link_to` helper, the first parameter becomes the URL.
This commit fixes the `@example` in the documentation to match the code.
Merge pull request #1775 from claudiob/patch-1

Fix documentation of link_to when passing block