Module -> mount rename: fix a documentation link

This commit is contained in:
Ivan Borisenko 2015-08-18 21:42:08 +03:00
parent 7a5980631e
commit 8a8829c2e1

View file

@ -14,7 +14,7 @@ Mithril provides utilities to handle three different aspect of routing:
### Defining routes ### Defining routes
To define a list of routes, you need to specify a host DOM element, a default route and a key-value map of possible routes and respective [modules](mithril.module.md) to be rendered. To define a list of routes, you need to specify a host DOM element, a default route and a key-value map of possible routes and respective [modules](mithril.mount.md) to be rendered. Note: `module` was renamed to `mount`. Documentation will be updated soon.
The example below defines three routes, to be rendered in `<body>`. `home`, `login` and `dashboard` are modules. We'll see how to define a module in a bit. The example below defines three routes, to be rendered in `<body>`. `home`, `login` and `dashboard` are modules. We'll see how to define a module in a bit.