I am trying to create a CRUD system with react and Ruby on rails where I call a function of a controller of the rails from a react function.
I the function in the control