After some further digging, I'm not sure map_hyphens can possibly work on
application names as things sit.
In map_app() in rewrite.py, the incoming app name is never translated. I
added the following code near the top of the function, and everything
started to work.
if routers.BASE.map_hyphen:
arg0 = self.harg0.replace('-', '_')
else:
arg0 = self.harg0
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
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 [email protected].
For more options, visit https://groups.google.com/d/optout.