2022-05-09 09:39:46 +02:00
|
|
|
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
|
2014-02-13 13:30:32 +11:00
|
|
|
{
|
|
|
|
|
/// <summary>
|
2022-05-09 09:39:46 +02:00
|
|
|
/// The path to redirect to when update is successful, if not specified then the user will be
|
|
|
|
|
/// redirected to the current Umbraco page
|
2014-02-13 13:30:32 +11:00
|
|
|
/// </summary>
|
2022-05-09 09:39:46 +02:00
|
|
|
public string? RedirectUrl { get; set; }
|
2017-07-20 11:21:28 +02:00
|
|
|
}
|