i use the regex router, and have this in one of my projects: ('/promo/(?P<f>.*)', '/appname/promo_page/signup/$f'), # promo codes to the promo_page controller
so this takes a url like /promo/freestuff and sends to /appname/pomo_page/signup/freestuff i think essentially doing as you ask. not sure how to do this using the parametric router. cfh On Wednesday, February 20, 2013 7:03:35 PM UTC-8, Alec Taylor wrote: > > Is there some method—e.g.: rewriting/specifying-in the routes—that will > allow me to grab 'args' from '/controller_name/args' rather than having to > use '/controller_name/index/args'? > > (this will result in much cleaner URLs for my users/clients) > > Thanks for all suggestions, > > Alec Taylor > > PS: I have reported the issue (with associated test-cases) here: > http://code.google.com/p/web2py/issues/detail?id=1346 > -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.