hello I hope somebody can help me figure this out.
found this great tutorial at http://dev.nozav.org/rails_ajax_table.html.
got it working except for one thing.
I can’t seem to make the pagination work. The link_to_remote defined in
the helper is pointing to the wrong url.
I have set up things like so:
defined a search method in de project_controller located in
apps/admin/project. In de tutorial the method is called list. defined in
I copy and paste the helper methodes to project_helper in the folder
The files that create the view are located in views/admin/project
Problem is that the helper method pagination_links_remote and
sort_link_helper crate a link like the folowing:
where is should look like this to make the pagination work:
notice the diference near “admin”, printed only once.
I think I have to ajust the helper methods but I don’t know how, please