app/helpers/caboose/application_helper.rb in caboose-cms-0.4.151 vs app/helpers/caboose/application_helper.rb in caboose-cms-0.5.1
- old
+ new
@@ -20,7 +20,11 @@
}
});
//]]>
</script>\n"
end
+
+ def parent_categories
+ Caboose::Category.find(1).children.where(:status => 'Active')
+ end
end
end