Hmm, I even tried this with separate controllers, is still does not
work as expected. Does anyone have an idea?

Thanks

On May 5, 9:20 pm, voltron <[EMAIL PROTECTED]> wrote:
> I´m trying map clean urls with no luck, Its definately something I do
> not understand in routes.
>
> # controller
>
> class TestController(BaseController):
>     def index(self):
>         return Response('boomer')
>     def tada1(self):
>         return Response('<b>tada1</b>')
>    def tada2(self):
>         return Response('<b>tada2</b>')
>
> # routes
>  map.connect('test', controller=test', action='index')
>  map.connect('test1', '', controller='test', action='tada1')
>  map.connect(''', controller='test', action='tada1')
>
>  map.connect('test1', '', controller='test', action='tada2')
>  map.connect(''', controller='test', action='tada2')
>
> the paster server serves the pages "/test/test1"  and "/test/test2"
> but not "/test1" or "/test2". Could someone tell me what I´m doing
> wrong?
>
> Thanks


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to pylons-discuss@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to