fix pagenation
This commit is contained in:
parent
69fa966c8b
commit
9c489937e3
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue