mirror of
https://github.com/internetee/registry.git
synced 2025-06-07 21:25:39 +02:00
Remove unneded code
This commit is contained in:
parent
aa8be7d148
commit
d82c44600a
1 changed files with 0 additions and 4 deletions
|
@ -52,10 +52,6 @@ module Admin
|
||||||
|
|
||||||
private
|
private
|
||||||
|
|
||||||
def set_api_user
|
|
||||||
@api_user = ApiUser.find(params[:id])
|
|
||||||
end
|
|
||||||
|
|
||||||
def api_user_params
|
def api_user_params
|
||||||
params.require(:api_user).permit(:username, :plain_text_password, :active,
|
params.require(:api_user).permit(:username, :plain_text_password, :active,
|
||||||
:identity_code, { roles: [] })
|
:identity_code, { roles: [] })
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue