diff --git a/src/module/api/common-api.js b/src/module/api/common-api.js index 2328640..5d988f5 100644 --- a/src/module/api/common-api.js +++ b/src/module/api/common-api.js @@ -51,6 +51,8 @@ RMModule.factory('RMCommonApi', ['$http', 'RMFastQ', '$log', function($http, $q, if(_for) { _for = '$' + _for + 'UrlFor'; if(this.$scope[_for]) return this.$scope[_for](this); + } else if(this.$scope.$cannonicalUrlFor) { + return this.$scope.$cannonicalUrlFor(this); } return this.$scope.$urlFor(this);