mirror of
https://github.com/internetee/registry.git
synced 2025-06-08 05:34:46 +02:00
Revert "Use inflector rule to acronym Api to API"
This reverts commit 06f5eb10d4
.
This commit is contained in:
parent
90b2455032
commit
aac76b333c
25 changed files with 43 additions and 44 deletions
|
@ -7,12 +7,12 @@ module Admin
|
|||
end
|
||||
|
||||
def new
|
||||
@api_user = APIUser.find(params[:api_user_id])
|
||||
@api_user = ApiUser.find(params[:api_user_id])
|
||||
@certificate = Certificate.new(api_user: @api_user)
|
||||
end
|
||||
|
||||
def create
|
||||
@api_user = APIUser.find(params[:api_user_id])
|
||||
@api_user = ApiUser.find(params[:api_user_id])
|
||||
|
||||
crt = certificate_params[:crt].open.read if certificate_params[:crt]
|
||||
csr = certificate_params[:csr].open.read if certificate_params[:csr]
|
||||
|
@ -73,7 +73,7 @@ module Admin
|
|||
end
|
||||
|
||||
def set_api_user
|
||||
@api_user = APIUser.find(params[:api_user_id])
|
||||
@api_user = ApiUser.find(params[:api_user_id])
|
||||
end
|
||||
|
||||
def certificate_params
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue