Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fix for route not being considered a observable

  • Loading branch information...
commit 21e819bb5a3357dbba6c36f22eadbf78d7c7212f 1 parent a2f6239
@amcdnl amcdnl authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  route/route.js
View
2  route/route.js
@@ -473,7 +473,7 @@ steal('can/util','can/observe', 'can/util/string/deparam', function(can) {
// extend route to have a similar property
// that is often checked in mustache to determine
// an object's observability
- can.route.prototype.canMakeObserve = can.Observe.canMakeObserve;
+ can.route.constructor.canMakeObserve = can.Observe.canMakeObserve;
return can.route;
});
Please sign in to comment.
Something went wrong with that request. Please try again.