edit api
This commit is contained in:
@@ -90,6 +90,6 @@ class ClientsController < ApplicationController
|
||||
|
||||
# Never trust parameters from the scary internet, only allow the white list through.
|
||||
def client_params
|
||||
params.require(:client).permit(:name,:email, :phone, :address,:product_type)
|
||||
params.require(:client).permit(:name,:email, :phone, :address)
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user