apologies for being very picky, I'm happy to merge if you like it, but this seems more view logic to me, how about an helper method in application_helper, so we can reuse it in `TagCategory` and `ResourceCategory` ? :)