hiya, Pat,

 Because thinking sphinx's the one that does the searching, I was just
hoping to see if TS actually stores the who request url.

 Actually, I might follow your advise and check out url_for.


cheers, Pat :D


On 9 February 2010 21:02, Pat Allan <[email protected]> wrote:

> Just to confirm: you want the URL of the page you're on? This isn't really
> a TS question... but within the controller, the request object may have a
> method that has that information.
>
> Otherwise, there's also url_for(params) - as the action and controller,
> along with all other arguments, are in the params hash.
>
> Hope this helps.
>
> --
> Pat
>
> On 04/02/2010, at 11:54 AM, ct9a 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]<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.

Reply via email to