summaryrefslogtreecommitdiff
path: root/app/models/namespace.rb
diff options
context:
space:
mode:
authorDouglas Barbosa Alexandre <dbalexandre@gmail.com>2017-12-21 13:58:36 -0200
committerDouglas Barbosa Alexandre <dbalexandre@gmail.com>2018-01-03 16:13:32 -0200
commit93eba91df9af083ea80b3b8ab01986efdeec43a0 (patch)
tree2ed14dfb2c0e4ff038ba304c59ed470d91d4aa3a /app/models/namespace.rb
parent9d575acc5b46be7e0b76ccc763997412cd278ef0 (diff)
downloadgitlab-ce-93eba91df9af083ea80b3b8ab01986efdeec43a0.tar.gz
Refactoring Project#write_repository_config
Diffstat (limited to 'app/models/namespace.rb')
-rw-r--r--app/models/namespace.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/namespace.rb b/app/models/namespace.rb
index d983b2f106b..efbfc607040 100644
--- a/app/models/namespace.rb
+++ b/app/models/namespace.rb
@@ -272,7 +272,7 @@ class Namespace < ActiveRecord::Base
def write_projects_full_path_config
all_projects.each do |project|
project.expires_full_path_cache # we need to clear cache to validate renames correctly
- project.write_repository_config(:fullpath, project.full_path)
+ project.write_repository_config
end
end
end