mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-12-02 19:44:02 +08:00
Merge
--HG-- branch : 1.x
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user