From 212a7e22dea4167cd1090a391355d7be69f376a1 Mon Sep 17 00:00:00 2001 From: Harry Bomrah Date: Mon, 25 Sep 2017 17:51:49 +0800 Subject: [PATCH] direct url for widget --- app/controllers/archives_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/archives_controller.rb b/app/controllers/archives_controller.rb index 351b808..76ba5d7 100644 --- a/app/controllers/archives_controller.rb +++ b/app/controllers/archives_controller.rb @@ -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 {