I have a problem, devise have implemented for users. Also I have a table called companies. It turns out that a company can have many users and need the admin can create respective users of the company in its panel. By the way, pundit use.
PD: Create an intermediate table to assign users and companies.
Aucun commentaire:
Enregistrer un commentaire