aboutsummaryrefslogtreecommitdiffstats
path: root/config/environments
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2013-12-25 00:15:57 +0100
committerHarald Eilertsen <haraldei@anduin.net>2013-12-25 00:15:57 +0100
commitde85692eb4cb19112e5b3a6d68c8867c65ff0da0 (patch)
tree2427f6544d15f28550256c5af8b4817bcb7e1dd8 /config/environments
parent771532124d5486eb78c22f1c638ff647883d46b8 (diff)
downloadhmnoweb-de85692eb4cb19112e5b3a6d68c8867c65ff0da0.tar.gz
hmnoweb-de85692eb4cb19112e5b3a6d68c8867c65ff0da0.tar.bz2
hmnoweb-de85692eb4cb19112e5b3a6d68c8867c65ff0da0.zip
Clean up sidebar modules.
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.
Diffstat (limited to 'config/environments')
0 files changed, 0 insertions, 0 deletions