Process the array of params in the controller