resolves #1

local paramter @shopping_list doesn't exist when no lists are available.
So skip the call to @shopping_list.items to avoid a nullPointer
exception. The view already check for an empty @shopping_list