Skip to content

Commit 505d1e8

Browse files
authored
Поправить проблему при возврате после редактирования вводной (#3043)
1 parent 3ed210a commit 505d1e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/JoinRpg.Portal/Controllers/PlotController.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ public async Task<ActionResult> DeleteElement(int plotelementid, int plotFolderI
246246

247247
private ActionResult ReturnToPlot(int projectId, int plotFolderId) => RedirectToAction("Edit", new { projectId, plotFolderId });
248248

249-
private ActionResult ReturnToPlot(PlotFolderIdentification plotFolderId) => RedirectToAction("Edit", new { projectId = plotFolderId.ProjectId, plotFolderId = plotFolderId.PlotFolderId });
249+
private ActionResult ReturnToPlot(PlotFolderIdentification plotFolderId) => RedirectToAction("Edit", new { projectId = plotFolderId.ProjectId.Value, plotFolderId = plotFolderId.PlotFolderId });
250250

251251
[HttpGet, MasterAuthorize()]
252252
public async Task<ActionResult> EditElement(int plotelementid, int plotFolderId, int projectId)

0 commit comments

Comments
 (0)