Skip to content

Commit d356837

Browse files
committed
Merge pull request angular-ui#1156 from miguelsm/master
chore(style): Change 'this' with $state in $state.go
2 parents f093e78 + 49dfed1 commit d356837

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/state.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -716,7 +716,7 @@ function $StateProvider( $urlRouterProvider, $urlMatcherFactory) {
716716
*
717717
*/
718718
$state.go = function go(to, params, options) {
719-
return this.transitionTo(to, params, extend({ inherit: true, relative: $state.$current }, options));
719+
return $state.transitionTo(to, params, extend({ inherit: true, relative: $state.$current }, options));
720720
};
721721

722722
/**

0 commit comments

Comments
 (0)