Ajax Helper not respecting routes

2010-04-21 Thread Bryan Paddock
Hey all, Weird problem. I have a ajax search form and retrieves submissions and inserts them into a div. The ajax is working although the controller does not respect the prefix. ?php echo $form-create('Submission'); echo $form-input('search', array('class' = 'quicksearch')); echo

Re: Ajax Helper not respecting routes

2010-04-21 Thread genellern
hi i would do that this way: echo $ajax-form(null, 'post',array('model'='Submission','action'='search','id'='formEdit','update' = 'submissions-list')); echo $form-input('search', array('class' = 'quicksearch')); echo $form-submit();     'url'= '/judge/submissions/search', ? When I submit