fix: m.route.param, not m.route.params 😓

This commit is contained in:
Pat Cavit 2017-01-11 15:14:29 -08:00
parent 2cdd8a96d1
commit d119accb21
2 changed files with 7 additions and 7 deletions

View file

@ -54,7 +54,7 @@ module.exports = function($window, redrawService) {
route.set(href, undefined, undefined)
}
}
route.params = function(key) {
route.param = function(key) {
if(typeof attrs !== "undefined" && typeof key !== "undefined") return attrs[key]
return attrs
}