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 Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: nu/CharmBoard#12
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
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::Index
could be pushed into its own module in theCharmBoard::Model
namespace 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 of `index.html.ep` and `subf.html.ep`to Move category and subforum listings into their own models so they can be invoked outside of `index.html.ep` and `subf.html.ep`