_category.html.haml revision aa995185bb9db58521af11bcfc803b33e01fb55c
- if category then
%li{ :id => category.id }
%a
= category.name.gsub(/_/, ' ')
%ul
= render :partial => 'category', :collection => category.descendants.to_a