aboutsummaryrefslogtreecommitdiffstats
path: root/app/decorators
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2013-12-23 20:25:47 +0100
committerHarald Eilertsen <haraldei@anduin.net>2013-12-23 20:25:47 +0100
commit595b16a783b7a99cadbf7cd61086ead32c6298a9 (patch)
treefcb063b0a4eaf8d138706c9b067d30de00b272bc /app/decorators
parent8b8e9cd1224f0f573017bc236d76c0f8ccd657ee (diff)
downloadhmnoweb-595b16a783b7a99cadbf7cd61086ead32c6298a9.tar.gz
hmnoweb-595b16a783b7a99cadbf7cd61086ead32c6298a9.tar.bz2
hmnoweb-595b16a783b7a99cadbf7cd61086ead32c6298a9.zip
Add sidebar_position field to blog categories.
Diffstat (limited to 'app/decorators')
-rw-r--r--app/decorators/models/refinery/blog_category_decorator.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/decorators/models/refinery/blog_category_decorator.rb b/app/decorators/models/refinery/blog_category_decorator.rb
new file mode 100644
index 0000000..d338d63
--- /dev/null
+++ b/app/decorators/models/refinery/blog_category_decorator.rb
@@ -0,0 +1,3 @@
+Refinery::Blog::Category.class_eval do
+ attr_accessible :sidebar_position
+end