You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 5, 2022. It is now read-only.
In my case, I have to add department_id to user table. So for creating a new user, I can't insert because foreign key is in the user table.What is the best way to edit create-user-view and create-user-controller without editing your code from vendor.
Regards.
Sithu
The text was updated successfully, but these errors were encountered:
sithuaung
changed the title
the best way to insert to user model
the best way to insert a row to user model
Nov 12, 2014
I can easily override the controller and routes. It works. thanks.
But first when I copied the code from your controller to avoid implementing the same functionality for checking groups and selecting permissions, I faced with weird error like "user already exist".I am so sure it didn't exist. May be that error because of Ajax or I don't know. So I write my own controller and it worked.
Hi Mr Juliuss
In my case, I have to add department_id to user table. So for creating a new user, I can't insert because foreign key is in the user table.What is the best way to edit create-user-view and create-user-controller without editing your code from vendor.
Regards.
Sithu
The text was updated successfully, but these errors were encountered: