added pagination
This commit is contained in:
parent
9ca5c3b037
commit
c9a27c0ea5
|
@ -13,7 +13,8 @@ class WebResourcesController < ApplicationController
|
||||||
"title" => link.title,
|
"title" => link.title,
|
||||||
"context" => link.context,
|
"context" => link.context,
|
||||||
"statuses" => statuses,
|
"statuses" => statuses,
|
||||||
"link_to_show" => link.url
|
"link_to_show" => link.url,
|
||||||
|
"total_pages" => links.total_pages
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue