Fixing a (harmless) bug in Projections/LayoutController. (Harmless thanks to implicit route values, but better to be explicit).

--HG--
branch : 1.x
This commit is contained in:
Sipke Schoorstra
2013-07-01 19:28:21 +02:00
parent 5c74d8a8b7
commit 785471f3ee

View File

@@ -216,7 +216,7 @@ namespace Orchard.Projections.Controllers {
Services.Notifier.Information(T("Layout Saved"));
return RedirectToAction("Edit", layoutRecord.Id);
return RedirectToAction("Edit", new { id = layoutRecord.Id });
}
#region Load Fields