There may be a better way to get the current url, but I usually use the request uri, i.e., @currentpage=request.request_uri
--Travis On Wed, Feb 3, 2010 at 7:54 PM, ct9a <[email protected]> wrote: > hi there > I have pagination set up with the results returned by thinking > sphinx. > > How do I obtain the current url (which is the search url with all the > parameters and page number)? > This is because I am trying to add a link , " Back to search results" > when a user is looking at a specific item/object (ie. "show" action). > > > thank you > > -- > You received this message because you are subscribed to the Google Groups > "Thinking Sphinx" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<thinking-sphinx%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/thinking-sphinx?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Thinking Sphinx" 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/thinking-sphinx?hl=en.
