Multiple controllers for the same entity

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

    #1

    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
    EspoCRM product developer
    • Mar 2014
    • 9639

    #2
    One route should catch one request. It should not be possible to have multiple routes catching the same request.

    Comment

    Working...