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.


--~--~---------~--~----~------------~-------~--~----~
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