Merge branch 'master' into 214-delete-and-restore-branches

This commit is contained in:
Vokhmin Alexey V 2013-07-22 11:39:38 +04:00
commit 66ae2c8de3
1 changed files with 2 additions and 2 deletions

View File

@ -93,8 +93,8 @@ module BuildListsHelper
end
def container_url(build_list = @build_list)
url = "#{APP_CONFIG['downloads_url']}/#{build_list.save_to_platform.name}/container/#{build_list.id}"
url << "/#{build_list.arch.name}/#{build_list.save_to_repository.name}/release" if build_list.build_for_platform.distrib_type == 'mdv'
url = "#{APP_CONFIG['downloads_url']}/#{build_list.save_to_platform.name}/container/#{build_list.id}/"
url << "#{build_list.arch.name}/#{build_list.save_to_repository.name}/release/" if build_list.build_for_platform.distrib_type == 'mdv'
url.html_safe
end