Why is the controller scan necessary?

"""
Pre-Loading the Controllers

Due to the way Routes makes use of regular expressions for URL
recognition, Routes requires a valid list of Controller's before it
can match URL's. Controller names can contain any character including
/. Once the controller list is created, the Mapper method create_regs
should be called:

m.create_regs(['content','admin/comments','blog'])

After this step, the Mapper object is now ready to match URL's.
"""

Why is it so difficult for Routes to set a controller variable without it?

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

Reply via email to