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

app/js/app-base.js _navigate does not include 'root' path for serverRouting #1122

Closed
dsteinbach opened this issue Aug 22, 2013 · 3 comments
Closed
Assignees

Comments

@dsteinbach
Copy link

We are init'ing YAF like so:

var app = new Y.App({
    serverRouting: true,
    root: '/subfolder/'
});

In IE, where we want to fallback to server-side rendering, when we call:

app.navigate('/myroute');

It is win.location'ing to "mydomain.com/myroute" when it should be redirecting to "mydomain.com/subfolder/myroute".

Thanks,
-Dave S.

@ghost ghost assigned ericf Aug 26, 2013
@ericf
Copy link
Member

ericf commented Aug 26, 2013

What is the URL of the page that you're on you make this call to navigate('/myroute')?

@dsteinbach
Copy link
Author

http://sports.yahoo.com/fantasy/premier-league/

To recreate:

  1. Create a team
  2. Go to team page
  3. Change the week selection in the team header to trigger a navigate().
  4. Observe new URL is sports.yahoo.com/team/week/2

Thanks,
-Dave S

@ericf
Copy link
Member

ericf commented Sep 17, 2013

Closing a duplicate of #1083

@ericf ericf closed this as completed Sep 17, 2013
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