Chaplin.Router
does not extend Backbone.Router
. As far as i know, what you trying to achieve is not possible with the Chaplin.Router
.
As your desired endpoint is the same for both routes (customer:showPlan), one possible workaround is to use the constraints option with a regexp that matches both getCardsNavSummary and getCardsNavSummary-plan-row pattern and then, in the Controller, check and parse this endpoint as needed.