working links for widget items

This commit is contained in:
harrybomrah committed 2014-05-24 19:37:07 +08:00
1 parent 1c7a27bfe4
commit b2e6cf3919
1 file changed
+3 -2
+3 -2
View File
@@ -67,7 +67,8 @@ class ArchivesController < ApplicationController
cats = @categories.collect do |cat|
archives = ArchiveFile.where(:category_id => cat["id"]).collect do |archive|
{
"archive-title" => archive.title
"archive-title" => archive.title,
"archive_url" => OrbitHelper.widget_more_url
}
end
{
@@ -77,7 +78,7 @@ class ArchivesController < ApplicationController
end
{
"categories" => cats,
"extras" => {"widget-title" => "Archives"}
"extras" => {"widget-title" => "Archives","more_url"=>OrbitHelper.widget_more_url}
}
end
end