Fix for .first issue in show files haml view