blob: 4c2a2e81780f0e13f009d551df0d06f48b5f8550 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
class RssController < ApplicationController
def updates
@host = request.protocol + request.host_with_port
@items = Page.heads.find_tagged_with(
"update",
:order => "published_at DESC",
:limit => 20
)
respond_to do |format|
format.xml {}
end
end
end
|