Converted to IOptions over IOptionsSnapshot due to the latter only working in scoped services.
Further amends to return to booting application.
This commit is contained in:
@@ -36,7 +36,7 @@ namespace Umbraco.Web.BackOffice.Controllers
|
||||
public TinyMceController(
|
||||
IHostingEnvironment hostingEnvironment,
|
||||
IShortStringHelper shortStringHelper,
|
||||
IOptionsSnapshot<ContentSettings> contentSettings,
|
||||
IOptions<ContentSettings> contentSettings,
|
||||
IIOHelper ioHelper
|
||||
)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user