Skip to content
This repository has been archived by the owner on Mar 13, 2018. It is now read-only.

Initial slash does not show #7

Open
dbismut opened this issue Mar 12, 2015 · 0 comments
Open

Initial slash does not show #7

dbismut opened this issue Mar 12, 2015 · 0 comments

Comments

@dbismut
Copy link

dbismut commented Mar 12, 2015

I might be misusing the component, but it looks like <flatiron-director> doesn't show the initial slash after the hash. URL becomes http://localhost:9000/#myroute instead of http://localhost:9000/#/myroute.

Shouldn't this.ready be:

ready: function() {
  this.router.on(/(.*)/, function(route) {
    this.route = this.router.delimiter + route;
  }.bind(this));
  this.route = this.router.getRoute() ? this.router.delimiter + this.router.getRoute().join(this.router.delimiter): '';
}

?

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

No branches or pull requests

1 participant