added pagination

This commit is contained in:
Harry Bomrah 2014-06-18 18:16:58 +08:00
parent 9ca5c3b037
commit c9a27c0ea5
1 changed files with 2 additions and 1 deletions

View File

@ -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
{