Welcome Guest, Not a member yet? Register   Sign In
Routing a user based on their role.
#1

[eluser]behdesign[/eluser]
I have a team-management project for a client, and I've created a series of models that inherit from an abstract 'member' model. I want to create a controller cascade where the 'member' controller checks for the type of team member it is (client, support staff - based on their userid) and reroutes the user to the appropriate controller for their home page.

Is this better accomplished in routes, or in the member controller?

Thanks!


Messages In This Thread
Routing a user based on their role. - by El Forum - 01-24-2010, 10:00 AM
Routing a user based on their role. - by El Forum - 01-24-2010, 10:54 AM
Routing a user based on their role. - by El Forum - 01-24-2010, 06:02 PM
Routing a user based on their role. - by El Forum - 01-24-2010, 07:44 PM
Routing a user based on their role. - by El Forum - 01-24-2010, 08:28 PM
Routing a user based on their role. - by El Forum - 01-24-2010, 08:37 PM



Theme © iAndrew 2016 - Forum software by © MyBB