You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If we were to have an about page in the URL /about, we could add this.route('about'), optionally we can pass an object with options,
if we want our AboutRoute to be accessed through the URL /info,
we'd use the option path: this.route('about', { path: '/info' }).
By default Ember.js sets as path the route name, that's why we
didn't have to pass {path: '/about}` on the first example.
The text was updated successfully, but these errors were encountered:
The following was removed, I need to ad it back.
If we were to have an about page in the URL
/about
, we could addthis.route('about')
, optionally we can pass an object with options,if we want our
AboutRoute
to be accessed through the URL/info
,we'd use the option
path
:this.route('about', { path: '/info' })
.By default
Ember.js
sets as path the route name, that's why wedidn't have to pass
{path: '/about
}` on the first example.The text was updated successfully, but these errors were encountered: