fix pagenation

This commit is contained in:
manson 2014-08-08 16:32:09 +08:00
parent 69fa966c8b
commit 9c489937e3
1 changed files with 5 additions and 3 deletions

View File

@ -13,13 +13,15 @@ class WebResourcesController < ApplicationController
"title" => link.title,
"context" => link.context,
"statuses" => statuses,
"link_to_show" => link.url,
"total_pages" => links.total_pages
"link_to_show" => link.url
}
end
{
"web_link" => web_link,
"extras" => {"widget-title"=>t(:web_resource)}
"extras" => {
"widget-title"=>t(:web_resource)
},
"total_pages" => links.total_pages
}
end