ensuring macros are using the correct section.

This commit is contained in:
Claus
2018-10-24 09:59:40 +02:00
parent 715083ef93
commit aa4acb33e8

View File

@@ -15,7 +15,7 @@ namespace Umbraco.Web
macro = new Macro(Alias, Alias, string.Empty, MacroTypes.Unknown);
Current.Services.MacroService.Save(macro);
}
_returnUrl = string.Format("developer/Macros/editMacro.aspx?macroID={0}", macro.Id);
_returnUrl = $"developer/Macros/editMacro.aspx?macroID={macro.Id}";
return true;
}
@@ -29,14 +29,8 @@ namespace Umbraco.Web
private string _returnUrl = "";
public override string ReturnUrl
{
get { return _returnUrl; }
}
public override string ReturnUrl => _returnUrl;
public override string AssignedApp
{
get { return Constants.Applications.Packages.ToString(); }
}
public override string AssignedApp => Constants.Applications.Settings;
}
}