Files
Umbraco-CMS/src/Umbraco.Web.Common/Models/PostRedirectModel.cs

15 lines
554 B
C#
Raw Normal View History

namespace Umbraco.Cms.Web.Common.Models;
/// <summary>
/// A base model containing a value to indicate to Umbraco where to redirect to after Posting if
/// a developer doesn't want the controller to redirect to the current Umbraco page - which is the default.
/// </summary>
public class PostRedirectModel
{
/// <summary>
/// The path to redirect to when update is successful, if not specified then the user will be
/// redirected to the current Umbraco page
/// </summary>
public string? RedirectUrl { get; set; }
2017-07-20 11:21:28 +02:00
}