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