Get router history working with flux
This commit is contained in:
@@ -38,8 +38,14 @@ export default Actions({
|
||||
});
|
||||
},
|
||||
|
||||
updateRoute(route) {
|
||||
return { route };
|
||||
},
|
||||
goBack: null
|
||||
// routing
|
||||
goTo: null,
|
||||
goBack: null,
|
||||
updateLocation(location) {
|
||||
return {
|
||||
transform(state) {
|
||||
return { ...state, location };
|
||||
}
|
||||
};
|
||||
}
|
||||
});
|
||||
|
Reference in New Issue
Block a user