On Wed, 2011-08-24 at 10:42 +0200, Robert Forkel wrote:
> another thing i just realized: I use config.get_routes_mapper() (to
> pass information about routes to my javascript). With 1.2a1 this
> requires a config.commit() before the call, otherwise an empty mapping
> dict will be returned.

config.get_routes_mapper() will return a routes mapper unconditionally,
but yes, routes wont actually be added to the route mapper until a
commit.  This is intentional and will not change in the next release.
I'll add a note to the changes about it.

- C


-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" 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/pylons-discuss?hl=en.

Reply via email to