samnang/community — comment on commit 3b56d3dcadaffdd2e7229f1f742aee4a4bd7c4ba
File: app/views/shared/_navigation.html.haml line 7
By samnang:

I create a helper method to fix either count is nil or 0. And I think it helps to keep the template clean.