.before path question..

15 views
Skip to first unread message

Kake

unread,
May 6, 2013, 8:52:21 AM5/6/13
to sam...@googlegroups.com
Does "before" support multiple params?

Works:
this.before("#/map", function () {
alert("before" );
});

this.get("#/map", function() {
alert("get");
});

!Works
this.before('#/map/:bounds/:zoomLevel/', function () {
alert("before" );
});

this.get("#/map/:bounds/:zoomLevel/", function(context) {
alert("get");
});


Reply all
Reply to author
Forward
0 new messages