diff options
| -rw-r--r-- | app/views/help/index.html.haml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/app/views/help/index.html.haml b/app/views/help/index.html.haml index ca8e17d1527..87fa5ef57d2 100644 --- a/app/views/help/index.html.haml +++ b/app/views/help/index.html.haml @@ -38,4 +38,7 @@ .title Documentation = preserve do - = markdown File.read(Rails.root.join("doc", "README.md")) + - readme_text = File.read(Rails.root.join("doc", "README.md")) + - text = readme_text.dup + - readme_text.scan(/\]\(([^(]+)\)/) { |match| text.gsub!(match.first, "help/#{match.first}") } + = markdown text |
