diff options
author | Kia Mei Somabes <kssomabes@up.edu.ph> | 2018-07-18 06:16:30 +0300 |
---|---|---|
committer | Kia Mei Somabes <kssomabes@up.edu.ph> | 2018-07-18 06:16:30 +0300 |
commit | 3239860f0aea2ff7721f36b4c424e6e8957c51c7 (patch) | |
tree | ee9268b326bd7dcf7aee6117f67ac541cf09d0a0 /app/helpers | |
parent | cb99e0518c36cca62b14f16178e4396a8c7dcee2 (diff) |
Refactor code for single file download in repository
Diffstat (limited to 'app/helpers')
-rw-r--r-- | app/helpers/blob_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/blob_helper.rb b/app/helpers/blob_helper.rb index 1919b8995f5..7eb45ddd117 100644 --- a/app/helpers/blob_helper.rb +++ b/app/helpers/blob_helper.rb @@ -234,7 +234,7 @@ module BlobHelper def download_blob_button(blob) return if blob.empty? - + title = 'Download' link_to sprite_icon('download'), blob_raw_path(inline: false), download: @path, class: 'btn btn-sm has-tooltip', target: '_blank', rel: 'noopener noreferrer', title: title, data: { container: 'body' } end |