Nopcommerce 3.8 version - Can not found custom action name in controller

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
6 years ago
'm using nopcommerce 3.8 version

Added a new Action in CommonController (it's return a PartialView), and use it in view(cshtml) like below:

@Html.Action("ActivityInfo", "Common")

And set routes in RouteProvider.cs like below:

routes.MapLocalizedRoute("ActivityInfo",
                            "activityinfo",
                            new { controller = "Common", action = "ActivityInfo" },
                            new[] { "Nop.Web.Controllers" });

it's work first.
But wait a while, website response can't found this action name in CommonController
Is anybody can't resolve this problem?

Thanks.
6 years ago
Please do not duplicate forum topics (deleted)
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.