Skip to content

Commit

Permalink
#7447 Delete ViewLocationExpander in Omnisend plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
skoshelev committed Dec 11, 2024
1 parent e47456c commit b3f098d
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 43 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public async Task<IActionResult> Configure()

await FillBatchesAsync(model);

return View(model);
return View("~/Plugins/Misc.Omnisend/Views/Configure.cshtml", model);
}

[HttpPost, ActionName("Configure")]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,6 @@ public class PluginNopStartup : INopStartup
/// <param name="configuration">Configuration of the application</param>
public void ConfigureServices(IServiceCollection services, IConfiguration configuration)
{
services.Configure<RazorViewEngineOptions>(options =>
{
options.ViewLocationExpanders.Add(new ViewLocationExpander());
});

services.AddHttpClient<OmnisendHttpClient>().WithProxy();
services.AddScoped<OmnisendService>();
services.AddScoped<OmnisendEventsService>();
Expand Down

This file was deleted.

2 changes: 1 addition & 1 deletion src/Plugins/Nop.Plugin.Misc.Omnisend/plugin.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"Group": "Misc",
"FriendlyName": "Omnisend",
"SystemName": "Misc.Omnisend",
"Version": "4.80.4",
"Version": "4.80.5",
"SupportedVersions": [ "4.80" ],
"Author": "nopCommerce team",
"DisplayOrder": 1,
Expand Down

0 comments on commit b3f098d

Please sign in to comment.