direct url for widget
This commit is contained in:
parent
1bfbc26a32
commit
212a7e22de
|
@ -138,7 +138,7 @@ class ArchivesController < ApplicationController
|
|||
archives = ArchiveFile.can_display.where(:category_id => cat["id"]).collect do |archive|
|
||||
{
|
||||
"archive-title" => archive.title,
|
||||
"archive_url" => OrbitHelper.widget_more_url
|
||||
"archive_url" => "/xhr/archive/download?file=#{archive.id}"
|
||||
}
|
||||
end
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue