rails/rails — pull request #5886 by Ninju (2012-04-18 00:02:16+00:00)
Title: Added option to pass block to link_to_function

Patch to solve issue here: https://github.com/rails/rails/issues/3093

Allows you to pass a block to link_to_function (similar to link_to) if the link text is too complex to be passed as a string argument.