On Aug 4, 4:08 pm, suzuki <[email protected]> wrote:
> <script type="text/javascript">
> //<![CDATA[
> new Form.Element.Observer('type_selection', 0.5, function(element,
> value) {new Ajax.Updater('page_selection', '/admin/assets/set_pages',
> {asynchronous:true, evalScripts:true, parameters:'type='+$
> ('type_selection').value + '&authenticity_token=' +
> encodeURIComponent('13b2be353ea3c336c4f8763a4dd2128383ec4d5f')})})
> //]]>
> </script>
so that much seems ok - your url option isn't getting ignored since
the javascript is trying to post to /admin/assets/set_pages (which
from your description sounds correct)
which controller is picking this up (and which one should be picking
it up) ?
Fred
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.