Skip to content

Commit

Permalink
why are we limiting announcments to 15
Browse files Browse the repository at this point in the history
  • Loading branch information
ogg committed Feb 27, 2014
1 parent 9e5f3ea commit ffa230f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/announcements_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def show

def public_feed
return unless get_feed_context
announcements = @context.announcements.active.order(:posted_at).limit(15).reject{|a| a.locked_for?(@current_user, :check_policies => true) }
announcements = @context.announcements.active.order(:posted_at).reject{|a| a.locked_for?(@current_user, :check_policies => true) }
respond_to do |format|
format.atom {
feed = Atom::Feed.new do |f|
Expand Down

0 comments on commit ffa230f

Please sign in to comment.