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:
@@ -27,7 +27,7 @@ namespace Umbraco.Web.BackOffice.Controllers
|
||||
public TourController(
|
||||
TourFilterCollection filters,
|
||||
IHostingEnvironment hostingEnvironment,
|
||||
IOptionsSnapshot<TourSettings> tourSettings,
|
||||
IOptions<TourSettings> tourSettings,
|
||||
IWebSecurity webSecurity,
|
||||
IContentTypeService contentTypeService)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user