Skip to content

Commit

Permalink
Don't inherit backward compatibility controllers from BasePublicContr…
Browse files Browse the repository at this point in the history
…oller, since they only redirect requests.
  • Loading branch information
RomanovM committed Dec 10, 2019
1 parent ee3d403 commit f6edf56
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@

namespace Nop.Web.Controllers
{
public partial class BackwardCompatibility1XController : BasePublicController
//do not inherit it from BasePublicController. otherwise a lot of extra action filters will be called
//they can create guest account(s), etc
public partial class BackwardCompatibility1XController : Controller
{
#region Fields

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@

namespace Nop.Web.Controllers
{
public partial class BackwardCompatibility2XController : BasePublicController
//do not inherit it from BasePublicController. otherwise a lot of extra action filters will be called
//they can create guest account(s), etc
public partial class BackwardCompatibility2XController : Controller
{
#region Fields

Expand Down

0 comments on commit f6edf56

Please sign in to comment.