Permalink
Browse files

fix for route not being considered a observable

  • Loading branch information...
1 parent a2f6239 commit 21e819bb5a3357dbba6c36f22eadbf78d7c7212f @amcdnl amcdnl committed Nov 11, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 route/route.js
View
@@ -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;
});

0 comments on commit 21e819b

Please sign in to comment.