Move category and subforum listings into their own models so they can be invoked outside of index.html.ep and subf.html.ep #12
Labels
No labels
bug
code clarity
code organization
database
documentation
improvement
new feature
security
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
nu/CharmBoard#12
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I'm not even sure if this would be necessary, but I'd rather do it early JUST IN CASE so nothing has to be changed later on.
Honestly looking at it, probably nearly the entirety of the code currently in
CharmBoard::Controller::Indexcould be pushed into its own module in theCharmBoard::Modelnamespace for fetching a complete list of the forum's categories and subforums (CharmBoard::Model::Categories?)It's not really any index-specific code, and it's mostly related to cat + subf listing
Move category and subforum listings into their own templates so they can be invoked outside ofto Move category and subforum listings into their own models so they can be invoked outside ofindex.html.epandsubf.html.epindex.html.epandsubf.html.ep