Skip to content

Commit 1cbb3c7

Browse files
committed
Merge branch 'pr/n10_vnbaaij'
2 parents 94613ec + 072c228 commit 1cbb3c7

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

Umbraco.RelationEditor.Web/App_Plugins/RelationEditor/relationeditor.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -247,8 +247,8 @@
247247
}
248248

249249
function RelationsResources($q, $http, umbDataFormatter, umbRequestHelper) {
250-
var root = Umbraco.Sys.ServerVariables.umbracoSettings.umbracoPath + "/relationseditor/relations/",
251-
enableRoot = Umbraco.Sys.ServerVariables.umbracoSettings.umbracoPath + "/relationseditor/settings/";
250+
var root = Umbraco.Sys.ServerVariables.umbracoSettings.umbracoPath + "/backoffice/relationseditor/relations/",
251+
enableRoot = Umbraco.Sys.ServerVariables.umbracoSettings.umbracoPath + "/backoffice/relationseditor/settings/";
252252
return {
253253
getById: function(section, treeType, id) {
254254
return umbRequestHelper.resourcePromise(

Umbraco.RelationEditor/Controllers/RelationsController.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ namespace Umbraco.RelationEditor.Controllers
1515
{
1616
[UmbracoApplicationAuthorize("content")]
1717
[PluginController("RelationsEditor")]
18-
public class RelationsController : UmbracoApiController
18+
public class RelationsController : UmbracoAuthorizedApiController
1919
{
2020
private readonly RelationEditorConfiguration configuration = RelationEditor.Configuration.Instance;
2121
private readonly IRelationService relationService;

Umbraco.RelationEditor/Controllers/SettingsController.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ namespace Umbraco.RelationEditor.Controllers
1111
{
1212
[UmbracoApplicationAuthorize("content")]
1313
[PluginController("RelationsEditor")]
14-
public class SettingsController : UmbracoApiController
14+
public class SettingsController : UmbracoAuthorizedApiController
1515
{
1616
private IContentTypeService ContentTypeService
1717
{

0 commit comments

Comments
 (0)