Fix bug in WorkflowDefinitionController
This commit is contained in:
parent
019e56043d
commit
15278ef5a4
|
|
@ -102,7 +102,7 @@ namespace Elsa.Dashboard.Areas.Elsa.Controllers
|
|||
await workflowDefinitionStore.SaveAsync(workflow, cancellationToken);
|
||||
|
||||
notifier.Notify("New workflow successfully created.", NotificationType.Success);
|
||||
return RedirectToAction("Edit", new { id = workflow.Id });
|
||||
return RedirectToAction("Edit", new { id = workflow.DefinitionId });
|
||||
}
|
||||
|
||||
[HttpGet("edit/{id}")]
|
||||
|
|
|
|||
Loading…
Reference in a new issue