Fix link_to with block and url_hash

Use link_to with block and url_hash, expect block as name.
But ignore block and use url_hash as name.
3-2-stable passes this test. 4-0-stable and master fail this.
Include block in a argument shift
Merge pull request #11348 from sanemat/fix/link-to-block

Fix actionview link_to with block and url_hash