aboutsummaryrefslogtreecommitdiffstats
path: root/app/helpers
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2013-12-24 14:15:45 +0100
committerHarald Eilertsen <haraldei@anduin.net>2013-12-24 14:15:45 +0100
commit771532124d5486eb78c22f1c638ff647883d46b8 (patch)
tree7f86c54097030021f0870fa39e833abc2e6f2739 /app/helpers
parentc4e6ef89054b88b6d59f8bf9b6d67ab990cb7906 (diff)
downloadhmnoweb-771532124d5486eb78c22f1c638ff647883d46b8.tar.gz
hmnoweb-771532124d5486eb78c22f1c638ff647883d46b8.tar.bz2
hmnoweb-771532124d5486eb78c22f1c638ff647883d46b8.zip
Populate home page with blog entries.
I would like to just render the refinery/blog/index template for this, but I did not find a way to do it, so I copied it instead. May need to revisit this if upgrading to a new refinery or blog engine.
Diffstat (limited to 'app/helpers')
-rw-r--r--app/helpers/home_page_helper.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/helpers/home_page_helper.rb b/app/helpers/home_page_helper.rb
new file mode 100644
index 0000000..8e165d0
--- /dev/null
+++ b/app/helpers/home_page_helper.rb
@@ -0,0 +1,3 @@
+module HomePageHelper
+ include Refinery::Blog::PostsHelper
+end