Use a custom component - S On 10 Feb 2012 11:28, "Sam Delaney" <[email protected]> wrote:
> Hi, > > I have multiple routing prefix routes setup and in general it has worked > really well to cater for discrete types of users. However there are a few > instances where the actions and views are identical regardless of the > prefix and yet I have to copy and paste the code which makes the code less > maintainable. > > An example would be: > > staff/users/editProfile > admin/users/editProfile > > etc. > > What are my solutions for this? > > Cheers, > > Sam > > -- > Our newest site for the community: CakePHP Video Tutorials > http://tv.cakephp.org > Check out the new CakePHP Questions site http://ask.cakephp.org and help > others with their CakePHP related questions. > > > To unsubscribe from this group, send email to > [email protected] For more options, visit this group > at http://groups.google.com/group/cake-php > -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php
