working links for widget items
This commit is contained in:
parent
1c7a27bfe4
commit
b2e6cf3919
|
@ -67,7 +67,8 @@ class ArchivesController < ApplicationController
|
||||||
cats = @categories.collect do |cat|
|
cats = @categories.collect do |cat|
|
||||||
archives = ArchiveFile.where(:category_id => cat["id"]).collect do |archive|
|
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
|
end
|
||||||
{
|
{
|
||||||
|
@ -77,7 +78,7 @@ class ArchivesController < ApplicationController
|
||||||
end
|
end
|
||||||
{
|
{
|
||||||
"categories" => cats,
|
"categories" => cats,
|
||||||
"extras" => {"widget-title" => "Archives"}
|
"extras" => {"widget-title" => "Archives","more_url"=>OrbitHelper.widget_more_url}
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
end
|
end
|
Loading…
Reference in New Issue