Skip to content
Snippets Groups Projects
Verified Commit a536a9ed authored by Luke "Jared" Bennett's avatar Luke "Jared" Bennett
Browse files

Fix repo break when no readme

parent 5505dcad
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -14,7 +14,7 @@ module TreeHelper
 
def repo_url(project)
if controller_name == 'projects'
readme_path(project)
readme_path(project) || project_tree_path(project, project.default_branch)
else
request.original_url
end
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment