0

In Backbone Router there is a chance to use before/after methods to define what's going to happen before/after the route get fired.

I'm using Marionette AppRouter and I discover I cannot do the same with it.

Do you know any way to reproduce the same behavior with AppRouter? I was thinking maybe there is a extension to do so.

Thanks in advance!

Alejandro Garcia Anglada
  • 2,373
  • 1
  • 25
  • 41
  • It might be helpful to see what your method for doing this with Backbone is and what you have tried with Marionette that didn't work. – dchapman Nov 21 '15 at 14:26

1 Answers1

0

Marionette.AppRouter extends Backbone.Router, so if you have a way to execute callbacks before and after a routing event with Backbone.Router you should be able to do the same thing with Marionette.Router.

dchapman
  • 365
  • 5
  • 20