diff --git a/app/controllers/announcements_controller.rb b/app/controllers/announcements_controller.rb index a23bf6d..59918f0 100644 --- a/app/controllers/announcements_controller.rb +++ b/app/controllers/announcements_controller.rb @@ -14,7 +14,8 @@ class AnnouncementsController < ApplicationController end { "announcements" => anns, - "extras" => {"widget-title"=>"Announcements"} + "extras" => {"widget-title"=>"Announcements"}, + "total_pages" => announcements.total_pages } end