diff options
Diffstat (limited to 'app/models/storage/hashed_project.rb')
-rw-r--r-- | app/models/storage/hashed_project.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/models/storage/hashed_project.rb b/app/models/storage/hashed_project.rb index 91f74b084b6..e6d68a177fe 100644 --- a/app/models/storage/hashed_project.rb +++ b/app/models/storage/hashed_project.rb @@ -11,14 +11,14 @@ module Storage # # @return [String] directory where repository is stored def base_dir - %Q(#{disk_hash[0..1]}/#{disk_hash[2..3]}) if disk_hash + "#{disk_hash[0..1]}/#{disk_hash[2..3]}" if disk_hash end # Disk path is used to build repository and project's wiki path on disk # # @return [String] combination of base_dir and the repository own name without `.git` or `.wiki.git` extensions def disk_path - %Q(#{base_dir}/#{disk_hash}) + "#{base_dir}/#{disk_hash}" end def ensure_storage_path_exist |