summaryrefslogtreecommitdiff
path: root/app/models/namespace.rb
diff options
context:
space:
mode:
authorDouglas Barbosa Alexandre <dbalexandre@gmail.com>2018-12-21 13:31:14 -0200
committerDouglas Barbosa Alexandre <dbalexandre@gmail.com>2018-12-21 16:00:46 -0200
commit8a172ebd24f03e9bba1b28e2c9bc960366f29406 (patch)
tree528c1d17c4fd438abe86fb196238daf0aa67e12d /app/models/namespace.rb
parent29527d213bab2d4a1bef459be167c427fa9d7def (diff)
downloadgitlab-ce-8a172ebd24f03e9bba1b28e2c9bc960366f29406.tar.gz
Update storage location after a group has been renamed/transfered
Diffstat (limited to 'app/models/namespace.rb')
-rw-r--r--app/models/namespace.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/namespace.rb b/app/models/namespace.rb
index 36de1c41b67..a0bebc5e9a2 100644
--- a/app/models/namespace.rb
+++ b/app/models/namespace.rb
@@ -306,6 +306,7 @@ class Namespace < ActiveRecord::Base
def write_projects_repository_config
all_projects.find_each do |project|
project.write_repository_config
+ project.track_project_repository
end
end
end