I can't find how to make a link to the root route of my Ember app.
I tried: {{#link-to 'index'}}Home{{/link-to}}
, but in my console I get the exception: Assertion failed: The attempt to link-to route 'index' failed (also tried 'index.index'). The router did not find 'index' in its possible routes: 'loading', 'error', 'start.loading', 'start.error'
The same when I try {{link-to 'application'}}
This is my router:
App.Router.map(function() {
this.resource('start', { path: '/start' }, function() {
//.. sub routes ..
});
this.resource('intro', { path: '/' }, function() {
// ...
});
this.route('login')
});
App.ApplicationRoute = Ember.Route.extend({});
and the same thing for index. If that doesn't work, I agree with @kingpin2k... Sounds like you may be working with a broken version. – Matthew Blancartepath: '/'
which is causing my problem. I needed a route to wrap some other routes but without expanding the url. So the route is just to create a wrapping template, is there another option? – Willem de Wit