Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

Changeset [25181cafee9ef087a14b5134b9fa1f85f758705a] by Xavier Noria

Revision 25181cafee9ef087a14b5134b9fa1f85f758705a, committed by Xavier Noria · April 13th, 2011 @ 12:23 PM

let the default function in button_to_function be nil

I don't know which is the use case for button_to_function(name)
but there's a test for it. I am focused now on RJS extraction
and do not want to introduce a backwards incompatible change
at this moment. Perhaps worth revisiting when the whole thing
is done.
https://github.com/rails/rails/commit/25181cafee9ef087a14b5134b9fa1...

1 changed file

  • M actionpack/lib/action_view/helpers/javascript_helper.rb