1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01:00

go to new toggle when created

This commit is contained in:
sveisvei 2016-12-13 20:45:56 +01:00
parent 171aaef287
commit 986550887b

View File

@ -12,7 +12,7 @@ const prepare = (methods, dispatch) => {
e.preventDefault();
createFeatureToggles(input)(dispatch)
.then(() => methods.clear())
.then(() => hashHistory.push('/features'));
.then(() => hashHistory.push(`/features/edit/${input.name}`));
}
);