module ActionView

Extends the ActionView::Helpers::UrlHelper module. See it for details on the usual url helper methods: url_for, link_to, button_to, etc.

Mostly, the changes sanitize javascript into facebook javascript.

It sanitizes link_to solely by altering the private methods: convert_options_to_javascript!, confirm_javascript_function, and method_javascript_function. For button_to, it alters button_to itself, as well as confirm_javascript_function. No other methods need to be changed because of Facebook javascript.

For button_to and link_to, adds alternate confirm options for facebook.

Options