Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base fork: gitlabhq/gitlabhq
...
head fork: gitlabhq/gitlabhq
  • 2 commits
  • 1 file changed
  • 0 commit comments
  • 2 contributors
Showing with 1 addition and 1 deletion.
  1. +1 −1  app/helpers/gitlab_markdown_helper.rb
View
2  app/helpers/gitlab_markdown_helper.rb
@@ -138,7 +138,7 @@ def relative_file_path(path)
# If we are at doc/api/README.md and the README.md contains relative links like [Users](users.md)
# this takes the request path(doc/api/README.md), and replaces the README.md with users.md so the path looks like doc/api/users.md
# If we are at doc/api and the README.md shown in below the tree view
- # this takes the rquest path(doc/api) and adds users.md so the path looks like doc/api/users.md
+ # this takes the request path(doc/api) and adds users.md so the path looks like doc/api/users.md
def build_nested_path(path, request_path)
return request_path if path == ""
return path unless request_path

No commit comments for this range

Something went wrong with that request. Please try again.