Skip to content
Browse files

Merge pull request #7291 from tbpgr/fix_gitlab_markdown_helper_typo

Fix gitlab_markdown_helper method header typo. rquest => request.
  • Loading branch information...
2 parents a338954 + e1535ef commit 0c5ca76dfc17e5aa9aa1d9f46f52915563f959de @dosire dosire committed
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

0 comments on commit 0c5ca76

Please sign in to comment.
Something went wrong with that request. Please try again.