There was a wrong ancient commit that changed link_to_function to button...

..._to.

However, to make it work correctly it should be button_to_function.