mirror of
https://github.com/internetee/registry.git
synced 2025-05-17 17:59:47 +02:00
Edit country select in forms
This commit is contained in:
parent
7537bb3712
commit
195aa4a890
7 changed files with 147 additions and 104 deletions
|
@ -54,6 +54,6 @@ class Admin::UsersController < AdminController
|
|||
end
|
||||
|
||||
def user_params
|
||||
params.require(:user).permit(:username, :password, :identity_code, :email, :country_id, { roles: [] })
|
||||
params.require(:user).permit(:username, :password, :identity_code, :email, :country_code, { roles: [] })
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue