Hi, in my ViewController I have many routes that uses a before function:
routes: {
       '*': {
        before: "checkDocEditorDirty"
       "login": "showLogin",
       "home": {
          before: "checkUserLogin",
          action: "showHome"
       "useradm": {
           before: "checkUserLogin",
           action: "showUserAdm"
Now I need to add a new route with 2 before functions: the "checkUserLogin" + another one.
How can use more than one before function on the same route ?
I've already used the special "*" route to add a global before but in this new case I need to put the before functions only on specific routes.
Instread of adding 2 before functions, can I create a before function that wraps the other 2 ? How ?