Skip to content

Commit

Permalink
Lets serve the feed as XML
Browse files Browse the repository at this point in the history
  • Loading branch information
lazyatom committed Jun 1, 2008
1 parent ea11b01 commit 2d5ca32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/vanilla/app.rb
Expand Up @@ -25,7 +25,7 @@ def present
Renderers::Erb.new(self).render(Vanilla.snip('system'), :main_template)
when 'raw', 'css', 'js'
Renderers::Raw.new(self).render(request.snip, request.part || :content)
when 'text', 'atom'
when 'text', 'atom', 'xml'
render(request.snip, request.part || :content)
else
@response.status = 500
Expand Down

0 comments on commit 2d5ca32

Please sign in to comment.