« Back
Sammy.EventContext redirect ( )
Changes the location of the current window. If to begins with
'#' it only changes the document's hash. If passed more than 1 argument
redirect will join them together with forward slashes.
Example
redirect('#/other/route');
// equivilent to
redirect('#', 'other', 'route');
comments powered by Disqus