cakephp common action for admin and member
===

For my project I have three types of users. Admins, members and Others.
There are certain functions that both admin and members could perform.

I know how to do routing and check for admin, and calling admin methods. But am not sure how to share a function between user types.

Any hint?

Best,
R