WIP ... Fixes: #U4-1666, Updates documentService to not have to manually
refresh content cache (and fix the unpublishing too since that logic wasn't correct) Adds DebuggerDisplay support to ContentBase and Entity for better debugging info. Adds new internal publishing methods to support publishing all children or only children previously published. This also adds new support for getting a published result back even with bulk publishing. Updates the publish dialog with new code and to use the new API based on issue #U4-1669. Adds UmbracoUser property to AuthenticatedUmbracoController, Adds all common properties to the abstract UmbracoController. Changes the legacy Document to allow content cache to be automatically refreshed (based on events)
This commit is contained in:
@@ -23,5 +23,16 @@ namespace Umbraco.Core
|
||||
return result.TrimEnd("SavePartialView");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Returns the base path (not including the 'action') of the MVC controller "BulkPublishController"
|
||||
/// </summary>
|
||||
/// <param name="url"></param>
|
||||
/// <returns></returns>
|
||||
public static string GetBulkPublishServicePath(this UrlHelper url)
|
||||
{
|
||||
var result = url.Action("PublishDocument", "BulkPublish", new { area = GlobalSettings.UmbracoMvcArea });
|
||||
return result.TrimEnd("PublishDocument");
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user