How to chain controller actions or DB inserts in Phoenix?

Unless I’m misunderstanding something I think this is exactly what Phoenix is not your application is all about. If the functionality for creating Todos wasn’t buried in the TodoController it would be much easier for UserController to create Todos.

Also

3 Likes