search for: choose_offer

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

2006 Jul 22
3
How do you find out what action rendered a page
...ifferent actions update the table and they have their own paginators. anyway i have this code at the bottom which worked for another page <%= pagination_links_each(@offer_pages,:window_size =>4) do |n| "<a href=\"#\" onclick=\"new Ajax.Request(''/user/choose_offer?page=#{n}'', {asynchronous:true, evalScripts:true}); return false;\">#{n}</a>" end %> but i need to right it so that the calling action is substituted into where choose offer is now... so how do i get the name of the action that rendered the page? Just start...