Commits

Anonymous committed ea59433

[svn] * Fixed scriptaculous helper docs example. Fixes #178.

Comments (0)

Files changed (2)

 WebHelpers ChangeLog
 
 0.2.3 (**svn**)
+* Fixed scriptaculous helper docs example. Fixes #178.
 * Updated scriptaculous/prototype to Prototype 1.5.0 and Scriptaculous 1.7.0.
 * Updated scriptaculous javascripts to 1.6.5. Fixes #155.
 * Updated remote_function doc-string to more clearly indicate the arguments

webhelpers/rails/scriptaculous.py

     
     Example::
     
-        <% drop_receiving_element("my_cart", url=(controller="cart", action="add" )) %>
+        <% drop_receiving_element("my_cart", url=url_for(controller="cart", action="add" )) %>
     
     You can change the behaviour with various options, see
     http://script.aculo.us for more documentation.