diff options
author | Robert Speicher <rspeicher@gmail.com> | 2017-08-15 13:44:37 -0400 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2017-08-15 13:44:37 -0400 |
commit | 4edfad96784e8f77ec8ead26f01b4012977ba58a (patch) | |
tree | ca0ee5439beeaa96f7a7acd749c9e1c67a6dab6b /lib/constraints | |
parent | 05151f7699ee2adf67ce835413dfdbd80c58a3e5 (diff) | |
download | gitlab-ce-4edfad96784e8f77ec8ead26f01b4012977ba58a.tar.gz |
Enable Layout/TrailingWhitespace cop and auto-correct offenses
Diffstat (limited to 'lib/constraints')
-rw-r--r-- | lib/constraints/project_url_constrainer.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/constraints/project_url_constrainer.rb b/lib/constraints/project_url_constrainer.rb index fd7b97d3167..5bef29eb1da 100644 --- a/lib/constraints/project_url_constrainer.rb +++ b/lib/constraints/project_url_constrainer.rb @@ -7,7 +7,7 @@ class ProjectUrlConstrainer return false unless DynamicPathValidator.valid_project_path?(full_path) # We intentionally allow SELECT(*) here so result of this query can be used - # as cache for further Project.find_by_full_path calls within request + # as cache for further Project.find_by_full_path calls within request Project.find_by_full_path(full_path, follow_redirects: request.get?).present? end end |