search for: next_page_numb

Displaying 1 result from an estimated 1 matches for "next_page_numb".

Did you mean: next_page_number
2005 Mar 03
0
where is :overwrite_params ?
...e the current @params as parameters for eg link_to, just overwriting the values you want. For example, when displaying a long list on different pages, the only parameter changing in the url is the page number and you can just do: link_to ( :overwrite_params => {"page_number" => @next_page_number}) working like link_to (:params => @params.update {"page_number" => @next_page_number} ) is not practical as you have to deal with the id, action and controller (which are in @params too)