use rails root join

This commit is contained in:
James Lopez 2016-06-20 09:17:07 +02:00
parent cee2a2dc66
commit d5b3a266e8
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ module Gitlab
end
def config_file
File.join(Rails.root, 'lib/gitlab/import_export/import_export.yml')
Rails.root.join('lib/gitlab/import_export/import_export.yml')
end
def version_filename