Multiple controllers for the same entity

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • a.slyzhko
    Member
    • Oct 2023
    • 90

    Multiple controllers for the same entity

    Hi there!

    I'm trying to organize my code by separating it into different modules. I came across situation where I have multiple controllers for the same entity, which should catch the same request. Which approach to use, that each controller executes its own part?
  • yuri
    Member
    • Mar 2014
    • 8440

    #2
    One route should catch one request. It should not be possible to have multiple routes catching the same request.
    If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

    Comment

    Working...