fix: m.route.param, not m.route.params 😓
This commit is contained in:
parent
2cdd8a96d1
commit
d119accb21
2 changed files with 7 additions and 7 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue