aboutsummaryrefslogtreecommitdiffstats
path: root/app/decorators/models
Commit message (Collapse)AuthorAgeFilesLines
* Add sidebar_module partial and SidebarPostDecorator class.Harald Eilertsen2013-12-231-0/+18
| | | | | | | | | | | | | Also did some code cleanup in PagesControllerDecorator::populate_sidebars. The controller will now populate left and right sidebars (only left for now,) while the SidebarPostDecorator will provide the markup for each post that is to be shown in a sidebar. The plan is to further expand the system with other Sidebar- Decorators, so each item can be rendered using the same in the partial.
* Initial commit.Harald Eilertsen2013-01-251-0/+0