Plural and singular files names

Permalink
Hi,

When creating single pages and packages, does Concrete5 require controller and/or single page filenames and/or endpoints to be either plural or singular? I had things working where it was singular, changed it to plural, and am now having issues. Want to make sure it is just me missing some detail and not some Concrete5 thing. Also, could it be caching related? I have caching turned off but when attempting to clear cache endpoint system/optimization/clearcache/do_clear results in 503 error.

Thanks

 
hutman replied on at Permalink Reply
hutman
Single Pages can be singular or plural, does not matter just so the controller matches the view.
NotionCommotion replied on at Permalink Reply
Thanks hutman, Was hoping so!
NotionCommotion replied on at Permalink Reply
I now recall why I thought singular and plural might have some special meaning with Concrete5. https://documentation.concrete5.org/developers-guide/working-with-pa... describes the following. Do you know if there is any documentation which really explains this?

Place the HTML and view logic for your single page at packages/game_system/single_pages/dashboard/system/game.php (note the use of single_pages plural).

Create the controller at packages/game_system/controllers/single_page/dashboard/system/game.php (note the use of single_page singular). Make sure it has the proper namespace (NOT beginning with Application).
hutman replied on at Permalink Reply
hutman
I don't think there is any documentation as to why the core is setup the way it is