diff options
author | James Lopez <james@jameslopez.es> | 2016-05-03 12:13:10 +0300 |
---|---|---|
committer | James Lopez <james@jameslopez.es> | 2016-05-03 12:13:10 +0300 |
commit | 58b0b1a6615958d2ca7628a06898f81b316e6637 (patch) | |
tree | 05978f615fd58fd58620ac967648190e3bf4a0b6 /app/services/projects/import_export | |
parent | fedfba55194ed51c6a7510c01fa94091e92c71cf (diff) |
picking export stuff from the UI branch
Diffstat (limited to 'app/services/projects/import_export')
-rw-r--r-- | app/services/projects/import_export/export_service.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/services/projects/import_export/export_service.rb b/app/services/projects/import_export/export_service.rb index ce13942c5d7..5d5573cba5c 100644 --- a/app/services/projects/import_export/export_service.rb +++ b/app/services/projects/import_export/export_service.rb @@ -1,8 +1,9 @@ module Projects module ImportExport class ExportService < BaseService + def execute(options = {}) - @shared = Gitlab::ImportExport::Shared.new(relative_path: project.path_with_namespace) + @shared = Gitlab::ImportExport::Shared.new(relative_path: File.join(project.path_with_namespace, 'work')) save_project_tree bundle_repo save_all |