Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Talk more about routes #1

Open
abuiles opened this issue Sep 12, 2014 · 1 comment
Open

Talk more about routes #1

abuiles opened this issue Sep 12, 2014 · 1 comment

Comments

@abuiles
Copy link
Owner

abuiles commented Sep 12, 2014

The following was removed, I need to ad it back.

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.

@stavarotti
Copy link
Collaborator

Where was this removed from? I can see if work it back in.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants