turbogears.redirect() already uses turbogears.url() behind the  
scenes. Are you calling turbogears.url() and then passing that result  
to redirect?

Kevin

On Aug 25, 2006, at 9:27 PM, Olli wrote:

>
> Hi, folks. I got a problem with webpath. take this example:
>
> webpath = "test"
>
> # if I use turbogears.url() in template files. works fine
> http://test.com/test
>
> # but when I use turbogears.url() in controller file. the webpath
> become twice
> http://test.com/test/test
>
> # when I don't use turbogears.url() in controller file. set
> turbogears.redirect("/") directly
> http://test.com/test
>
> So, what is the problem when I use turobgeats.url() in controller  
> file?
> OR, did I miss something? I think I'm confused about webpath.
>
>
> >


--
Kevin Dangoor
TurboGears / Zesty News

email: [EMAIL PROTECTED]
company: http://www.BlazingThings.com
blog: http://www.BlueSkyOnMars.com




--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" 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/turbogears
-~----------~----~----~----~------~----~------~--~---

Reply via email to