aboutsummaryrefslogtreecommitdiffstats
path: root/app/models
Commit message (Collapse)AuthorAgeFilesLines
* Allow customization of number of sidebar items for each category.Harald Eilertsen2014-03-021-1/+1
|
* Clean up sidebar modules.Harald Eilertsen2013-12-252-0/+25
| | | | | | | | | | | | | | Rewrite the _sidebar_module partial to render only one module, and to not make any assumptions about the contents of a module. (Except that it has a title and a body.) Move the actual module logic into model classes, and use the ActiveModel magic to have it find it's own partial. Now we have the view logic for each module in it's own partial that in turn renders as part of the _sidebar_module partial. Only implementation this far is the blog-category module listing the latest blog entries within each category.
* Initial commit.Harald Eilertsen2013-01-251-0/+0