1 Answer
1

Okay so for example you are redirecting every user to an action say dashboard. Instead of redirecting the user to add action of posts controller redirect to dashboard of users controller. I am assuming you have another table for groups and you are keeping it's foreign key in users table.