summaryrefslogtreecommitdiff
path: root/app/controllers/rss_controller.rb
blob: d2540d0998b5cfc316c1b806efc8e946af3ac7b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
class RssController < ApplicationController
  
  def updates
    
    @items = Page.heads.find_tagged_with(
      "update",
      :order => "published_at DESC",
      :limit => 20
    )
    
    respond_to do |format|
      format.xml {}
    end
  end

end