On Thu, Nov 11, 2010 at 8:26 AM, Mike Orr <sluggos...@gmail.com> wrote: > I guess ${route_url()} is no longer or worse than ${h.url_for()}, > which is what Pylons had before url(). And url() has always had a > problem in being the same as a previously-popular local variable. > > It would still be nice to put 'u' as a commented default, so that > users can just uncomment it if they want it.
So in the morning light (Pacific time zone), I reverse my position. route_url() is fine. And if we put the subscriber in the application template, we can draw attention to it in the docs and give some examples of how to modify it. In Pylons the corresponding function is in pylons.templating itself, and overrriding it requires reimplementing the render_mako() function, which is significantly more obscure/advanced than just overriding the variable-injection function. So it would be an improvement over Pylons. -- Mike Orr <sluggos...@gmail.com> -- You received this message because you are subscribed to the Google Groups "pylons-devel" group. To post to this group, send email to pylons-de...@googlegroups.com. To unsubscribe from this group, send email to pylons-devel+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/pylons-devel?hl=en.