wedevelopnl / silverstripe-articles

Silverstripe 4 articles module
MIT License
0 stars 2 forks source link

Added controller for ArticlePage #10

Closed robertvanlienden closed 2 years ago

robertvanlienden commented 2 years ago

This MR adds some controller for the ArticlePage.

Right now, this controller is just empty. But we've decided to add it already, so we can extend from this controller.

This way, if some Model extends ArticlePage, we can extend the controller from ArticlePageController. This way we always extend from the module's controller, so if the controller gets logic later, that logic is directly available for the classes that extends this controller.