summaryrefslogtreecommitdiff
path: root/app/models/container_repository.rb
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2017-03-23 14:57:33 +0100
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2017-03-23 14:57:33 +0100
commit3e01fed5cb36962065f5d19ab6a0cef1dfc14b48 (patch)
tree555b5d6f039551695d5cb4622d2ffa349b88839d /app/models/container_repository.rb
parent249084b48a86a99c02eefe45b507ebcdf811c20f (diff)
downloadgitlab-ce-3e01fed5cb36962065f5d19ab6a0cef1dfc14b48.tar.gz
Fix Rubocop offenses in container repository code
Diffstat (limited to 'app/models/container_repository.rb')
-rw-r--r--app/models/container_repository.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/container_repository.rb b/app/models/container_repository.rb
index b3a8ec691de..2f0fd3014a8 100644
--- a/app/models/container_repository.rb
+++ b/app/models/container_repository.rb
@@ -64,6 +64,6 @@ class ContainerRepository < ActiveRecord::Base
# in order to maintain backwards compatibility.
#
Project.find_by_full_path(truncated_path) ||
- Project.find_by_full_path(repository_path)
+ Project.find_by_full_path(repository_path)
end
end