Routing Helpers

Learn how to change the root URL and how to create helper functions for routing in Marionette.

Redirecting to #contacts at root URL

Here’s what we want to do if a user comes to our app at the root URL. We redirect them to #contacts.

The basic way of accomplishing this is the following:

Get hands-on with 1200+ tech skills courses.