Files
Umbraco-CMS/src/Umbraco.Web/Models/PostRedirectModel.cs
2017-07-20 11:21:28 +02:00

16 lines
579 B
C#

namespace Umbraco.Web.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; }
}
}