Skip to content

Commit 6068faa

Browse files
committed
lint
1 parent cc5f1cf commit 6068faa

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/state.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,8 @@ function $StateProvider( $urlRouterProvider, $urlMatcherFactory) {
114114
$state.transitionTo(state, params, false);
115115
});
116116
}
117-
return states[name] = state;
117+
states[name] = state;
118+
return state;
118119
}
119120

120121
// Implicit root state that is always active

0 commit comments

Comments
 (0)