Commit 162f6f53 authored by Douwe Maan's avatar Douwe Maan

Don't blow up when a tree readme is empty and consequently has no rich viewer

parent c75f1d3d
%article.file-holder.readme-holder
- if readme.rich_viewer
%article.file-holder.readme-holder
.js-file-title.file-title
= blob_icon readme.mode, readme.name
= link_to namespace_project_blob_path(@project.namespace, @project, tree_join(@ref, readme.path)) do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment