diff --git a/app/controllers/web_resources_controller.rb b/app/controllers/web_resources_controller.rb index 5de5c3e..17a5382 100644 --- a/app/controllers/web_resources_controller.rb +++ b/app/controllers/web_resources_controller.rb @@ -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