direct url for widget

This commit is contained in:
Harry Bomrah 2017-09-25 17:51:49 +08:00
parent 1bfbc26a32
commit 212a7e22de
1 changed files with 1 additions and 1 deletions

View File

@ -138,7 +138,7 @@ class ArchivesController < ApplicationController
archives = ArchiveFile.can_display.where(:category_id => cat["id"]).collect do |archive| archives = ArchiveFile.can_display.where(:category_id => cat["id"]).collect do |archive|
{ {
"archive-title" => archive.title, "archive-title" => archive.title,
"archive_url" => OrbitHelper.widget_more_url "archive_url" => "/xhr/archive/download?file=#{archive.id}"
} }
end end
{ {