diff options
author | Yoginth <me@yoginth.com> | 2019-05-20 17:11:44 +0300 |
---|---|---|
committer | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2019-05-20 17:11:44 +0300 |
commit | 2f6a20ce665de6a23fe2c1cc28cc6398afcb1b71 (patch) | |
tree | 8d11b78ab29992a7af02aed9dca5289aeb3d21bb /lib/gitlab/routing.rb | |
parent | 9c1470c260032c8b3d9cd6cf759fd08a610e9a1b (diff) |
Fix typos in the whole gitlab-ce project
Diffstat (limited to 'lib/gitlab/routing.rb')
-rw-r--r-- | lib/gitlab/routing.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/routing.rb b/lib/gitlab/routing.rb index 3b05f181ed2..84885be9bda 100644 --- a/lib/gitlab/routing.rb +++ b/lib/gitlab/routing.rb @@ -45,7 +45,7 @@ module Gitlab def self.redirect_legacy_paths(router, *paths) build_redirect_path = lambda do |request, _params, path| - # Only replace the last occurence of `path`. + # Only replace the last occurrence of `path`. # # `request.fullpath` includes the querystring new_path = request.path.sub(%r{/#{path}(/*)(?!.*#{path})}, "/-/#{path}\\1") |