diff --git a/app/controllers/archives_controller.rb b/app/controllers/archives_controller.rb index 9d464b2..1f3f266 100644 --- a/app/controllers/archives_controller.rb +++ b/app/controllers/archives_controller.rb @@ -33,6 +33,7 @@ class ArchivesController < ApplicationController end { "archive-title" => archive.title, + "archive-url" => archive.url, "url" => archive.url, "statuses" => statuses, "sort_number" => archive.sort_number, @@ -82,6 +83,7 @@ class ArchivesController < ApplicationController files_by_category_tag[t].each_with_index do |archive,index| a = { "archive-title" => archive.title, + "archive-url" => archive.url, "archive_url" => OrbitHelper.widget_more_url } @@ -140,6 +142,7 @@ class ArchivesController < ApplicationController url = archive.archive_file_multiples.count > 1 ? OrbitHelper.widget_more_url : "/xhr/archive/download?file=#{archive.archive_file_multiples.first.id}" { "archive-title" => archive.title, + "archive-url" => archive.url, "archive_url" => url } end