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

Commit ebedbf6

Browse files
committed
make route regex accept all characters
1 parent c435d39 commit ebedbf6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flatiron-director/flatiron-director.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
Polymer('flatiron-director', {
1313
autoHash: false,
1414
created: function() {
15-
this.router.on(/(\w*)/, function(route) {
15+
this.router.on(/(.*)/, function(route) {
1616
this.route = route;
1717
}.bind(this));
1818
var initialRoute = this.router.getRoute(0);

0 commit comments

Comments
 (0)