--HG--
branch : 1.x
This commit is contained in:
Suha Can
2011-03-30 14:52:13 -07:00

View File

@@ -237,7 +237,7 @@ namespace Orchard.Widgets.Controllers {
}
Services.Notifier.Information(T("Your {0} has been created.", layerPart.TypeDefinition.DisplayName));
return RedirectToAction("Index", "Admin", new { id = layerPart.Id });
return RedirectToAction("Index", "Admin", new { layerId = layerPart.Id });
} catch (Exception exception) {
this.Error(exception, T("Creating layer failed: {0}", exception.Message), Logger, Services.Notifier);
return RedirectToAction("Index");