diff options
author | Bob Van Landuyt <bob@gitlab.com> | 2017-04-24 12:38:09 +0200 |
---|---|---|
committer | Bob Van Landuyt <bob@gitlab.com> | 2017-05-01 11:14:24 +0200 |
commit | 12735eefcd7876435cd05f35a9f26bfe2836e09f (patch) | |
tree | a433db37dd74431960817038f86d9ffa8bef9c66 /lib/gitlab/etag_caching | |
parent | ea8e86dac856fdf6545e020df346533231379b93 (diff) | |
download | gitlab-ce-12735eefcd7876435cd05f35a9f26bfe2836e09f.tar.gz |
Minor style adjustments
Diffstat (limited to 'lib/gitlab/etag_caching')
-rw-r--r-- | lib/gitlab/etag_caching/router.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/etag_caching/router.rb b/lib/gitlab/etag_caching/router.rb index c7da8b07a56..aac210f19e8 100644 --- a/lib/gitlab/etag_caching/router.rb +++ b/lib/gitlab/etag_caching/router.rb @@ -8,7 +8,7 @@ module Gitlab # regex itself) # - Ending in `noteable/issue/<id>/notes` for the `issue_notes` route # - Ending in `issues/id`/rendered_title` for the `issue_title` route - USED_IN_ROUTES = %w[noteable issue notes issues renderred_title + USED_IN_ROUTES = %w[noteable issue notes issues rendered_title commit pipelines merge_requests new].freeze RESERVED_WORDS = DynamicPathValidator::WILDCARD_ROUTES - USED_IN_ROUTES RESERVED_WORDS_REGEX = Regexp.union(*RESERVED_WORDS) |