Skip to content
This repository has been archived by the owner on Nov 30, 2018. It is now read-only.

Added support for null routes. #417

Closed
wants to merge 1 commit into from
Closed

Added support for null routes. #417

wants to merge 1 commit into from

Conversation

davismj
Copy link
Contributor

@davismj davismj commented Dec 31, 2013

If you configure a route on the router

.map({ route: 'empty', moduleId: null })

then, navigating to '#/empty' will empty the router element.

.map({ route: 'empty', moduleId: null })

then, navigating to '#/empty' will empty the router element.
@EisenbergEffect
Copy link
Member

I couldn't merge because of other changes, but I got your fix in. It's in branch Version-2.1.0.

@davismj
Copy link
Contributor Author

davismj commented Dec 22, 2014

I realize this is late, but this fix didn't work. As of the latest, I get the following error with a null route:
View Not Found. Searched for "views/Object" via path "text!views/Object.html".

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
2 participants