MCPcopy Create free account
hub / github.com/angular-app/angular-app / redirect

Function redirect

client/src/common/security/security.js:11–14  ·  view source on GitHub ↗
(url)

Source from the content-addressed store, hash-verified

9
10 // Redirect to the given url (defaults to '/')
11 function redirect(url) {
12 url = url || '/';
13 $location.path(url);
14 }
15
16 // Login form dialog stuff
17 var loginDialog = null;

Callers 2

onLoginDialogCloseFunction · 0.85
security.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected