I develop an internal booking/asset management system for my work, it has data separated by department, but I need a way to have the department specified in the URL as the first segment. For example:
/:departmentname/bookings/add After that, the default cakephp conventions would work fine. At the moment I achieve this by having the application in many different folders, one for each department - but I know that is a seriously bad way to do it - it was just a quick way to achieve something to a deadline, but the number of departments is getting out of hand, so I want to put this right. Can anyone give me some hints as to what routing rules I'd need to do this? Thanks Ian McNaught Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" 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/cake-php?hl=en
