diff --git a/app/controllers/notifications_controller.rb b/app/controllers/notifications_controller.rb index ff920e046..2be753d14 100644 --- a/app/controllers/notifications_controller.rb +++ b/app/controllers/notifications_controller.rb @@ -18,7 +18,7 @@ class NotificationsController < ApplicationController end def index - @notifications = Notification.for(current_user) + @notifications = Notification.for(current_user).limit(25) @group_days = @notifications.group_by{|note| note.created_at.strftime("%B %d") } respond_with @notifications end