PiranhaCMS / piranha.core.docs

Official documentation for Piranha CMS
MIT License
12 stars 51 forks source link

CMSController.cs is missing #100

Closed ConsultBuckner closed 1 year ago

ConsultBuckner commented 1 year ago

Hi, The docs show a CMSController.cs for the Razor template but it appears to not be included.

tidyui commented 1 year ago

Razor Pages doesn’t use controllers so it’s a bug in the documentation. It was meant for the “SetupController” to be included in the razor project in the docs.

Moving this to the docs repo!

ConsultBuckner commented 1 year ago

The docs state you can delete the SetupController.cs in the Razor Template, but perhaps there should just not be a Controllers folder at all in the Razor Template?