Class FeedController
In: app/controllers/feed_controller.rb
Parent: ApplicationController

Methods

index   show  

Public Instance methods

[Source]

   # File app/controllers/feed_controller.rb, line 3
3:   def index
4:     items    = Page.find(:all) + Posting.find(:all) + Comment.find(:all)
5:     @items   = items.sort { |b,a| a.updated_at <=> b.updated_at }[0..MAX_FEED_ITEMS]
6:   end

[Source]

    # File app/controllers/feed_controller.rb, line 8
 8:   def show
 9:     redirect_to :action => 'index'
10:   end

[Validate]