diff --git a/app/views/projects/_home_panel.html.haml b/app/views/projects/_home_panel.html.haml index 52a6d201099..2a97cb49039 100644 --- a/app/views/projects/_home_panel.html.haml +++ b/app/views/projects/_home_panel.html.haml @@ -23,6 +23,7 @@ %strong= link_to 'Edit', edit_project_path - elsif !@project.empty_repo? && @repository.readme - readme = @repository.readme + – = link_to project_blob_path(@project, tree_join(@repository.root_ref, readme.name)) do = readme.name