diff options
author | Stefan Wintermeyer <stefan.wintermeyer@amooma.de> | 2013-02-11 17:44:09 +0100 |
---|---|---|
committer | Stefan Wintermeyer <stefan.wintermeyer@amooma.de> | 2013-02-11 17:44:09 +0100 |
commit | b5cb8b7fa389c0a542825173b058dfcf428f6680 (patch) | |
tree | c589c33a0c4ea12db37f0b760663683412bd7083 /app/views/backup_jobs | |
parent | 0ba495685589e99e1100af6d7af9d69ee4f40b78 (diff) |
Fix URL
Diffstat (limited to 'app/views/backup_jobs')
-rw-r--r-- | app/views/backup_jobs/_index_core.html.haml | 2 | ||||
-rw-r--r-- | app/views/backup_jobs/show.html.haml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/app/views/backup_jobs/_index_core.html.haml b/app/views/backup_jobs/_index_core.html.haml index 9dc0e92..0102546 100644 --- a/app/views/backup_jobs/_index_core.html.haml +++ b/app/views/backup_jobs/_index_core.html.haml @@ -41,7 +41,7 @@ %td %span.hidden-phone - if backup_job.backup_file? - %a{:href => backup_job.backup_file.current_path} + %a{:href => backup_job.backup_file.url} %i{:class => 'icon-download'} = number_to_human_size(backup_job.backup_file.size, :precision => 2) - else diff --git a/app/views/backup_jobs/show.html.haml b/app/views/backup_jobs/show.html.haml index 6c55320..6fcb1dc 100644 --- a/app/views/backup_jobs/show.html.haml +++ b/app/views/backup_jobs/show.html.haml @@ -15,7 +15,7 @@ %p %strong= t('backup_jobs.show.size_of_the_backup') + ":" - if @backup_job.backup_file? - %a{:href => backup_job.backup_file.current_path} + %a{:href => backup_job.backup_file.url} %i{:class => 'icon-download'} = number_to_human_size(backup_job.backup_file.size, :precision => 2) |