Skip to content
Snippets Groups Projects
Commit 0c5ca76d authored by Sytse Sijbrandij's avatar Sytse Sijbrandij
Browse files

Merge pull request #7291 from tbpgr/fix_gitlab_markdown_helper_typo

Fix gitlab_markdown_helper method header typo. rquest => request.
parents a338954c e1535eff
No related branches found
No related tags found
No related merge requests found
Loading
@@ -138,7 +138,7 @@ module GitlabMarkdownHelper
Loading
@@ -138,7 +138,7 @@ module GitlabMarkdownHelper
# If we are at doc/api/README.md and the README.md contains relative links like [Users](users.md) # 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 # 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 # 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) def build_nested_path(path, request_path)
return request_path if path == "" return request_path if path == ""
return path unless request_path return path unless request_path
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment