Skip to content

Commit

Permalink
call angular.isString
Browse files Browse the repository at this point in the history
  • Loading branch information
Stu Salsbury committed May 1, 2013
1 parent 65d7648 commit 034364e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/src/common/services/crudRouteProvider.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
routePrefix = routePrefix || urlPrefix;

// Prepend the urlPrefix if available.
if ( isString(urlPrefix) && urlPrefix !== '' ) {
if ( angular.isString(urlPrefix) && urlPrefix !== '' ) {
baseUrl = urlPrefix + '/' + baseUrl;
}

Expand Down Expand Up @@ -112,4 +112,4 @@
// ```
// Then we could dispense with the $get, the $inject and the closure wrapper around all this.
angular.module('services.crudRouteProvider', []).provider('crudRoute', crudRouteProvider);
})();
})();

0 comments on commit 034364e

Please sign in to comment.