diff options
author | Ciro Santilli <ciro.santilli@gmail.com> | 2014-11-05 19:51:08 +0300 |
---|---|---|
committer | Ciro Santilli <ciro.santilli@gmail.com> | 2014-11-05 19:51:49 +0300 |
commit | e4a38e447169069f3d5042d3341ceb4bdc51bf1b (patch) | |
tree | 670d9e03ffed0001511c954250fe5ac43544c136 /lib/backup/repository.rb | |
parent | f9814bf28831aeef746cfdc35431c8de45ff7677 (diff) |
Factor using Repository#path_to_repo
Diffstat (limited to 'lib/backup/repository.rb')
-rw-r--r-- | lib/backup/repository.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/backup/repository.rb b/lib/backup/repository.rb index 380beac708d..0bb02f1a357 100644 --- a/lib/backup/repository.rb +++ b/lib/backup/repository.rb @@ -91,7 +91,7 @@ module Backup protected def path_to_repo(project) - File.join(repos_path, project.path_with_namespace + '.git') + project.repository.path_to_repo end def path_to_bundle(project) |