diff options
Diffstat (limited to 'app/views/quotes/index.atom.builder')
| -rw-r--r-- | app/views/quotes/index.atom.builder | 11 |
1 files changed, 0 insertions, 11 deletions
| diff --git a/app/views/quotes/index.atom.builder b/app/views/quotes/index.atom.builder deleted file mode 100644 index 66849cc..0000000 --- a/app/views/quotes/index.atom.builder +++ /dev/null | |||
| @@ -1,11 +0,0 @@ | |||
| 1 | atom_feed do |feed| | ||
| 2 | feed.title("The Four Island Quotes DB") | ||
| 3 | feed.updated(@quotes.first.created_at) | ||
| 4 | |||
| 5 | @quotes.each do |quote| | ||
| 6 | feed.entry(quote) do |entry| | ||
| 7 | entry.title("##{quote.id}") | ||
| 8 | entry.content(quote.content, :type => 'text') | ||
| 9 | end | ||
| 10 | end | ||
| 11 | end | ||
