We should move this to the decorator. We want to keep logic our of our views.

```erb
<span class="icon <%= content_item.icon_class %>"></span>
```

```rb
# category_item_decorator.rb
def icon_class
  "icon--#{object.type.dasherize}"
end
```