Updates server vars with embedApiBaseUrl

This commit is contained in:
Tim Geyssens
2014-01-28 16:11:57 +01:00
parent 23d9944a61
commit fcc115004e

View File

@@ -110,6 +110,10 @@ namespace Umbraco.Web.Editors
{"manifestAssetList", Url.Action("GetManifestAssetList", "BackOffice")},
{"serverVarsJs", Url.Action("Application", "BackOffice")},
//API URLs
{
"embedApiBaseUrl", Url.GetUmbracoApiServiceBaseUrl<RteEmbedController>(
controller => controller.GetEmbed("",0,0))
},
{
"contentApiBaseUrl", Url.GetUmbracoApiServiceBaseUrl<ContentController>(
controller => controller.PostSave(null))