       channel: channel
       blocks: blocks.models
   .catch next
-  .done()
 
 @userRSS = (req, res, next) ->
   author = new User(id: req.params.username)

    filter: 'channel'
    per: 25

  blocks.fetch(cache: true).then ->
    res.set 'Content-Type', 'application/rss+xml'
    res.render 'explore',
      blocks: blocks.models
  .catch next
  .done()

@blogRSS = (req, res, next) ->
  posts.fetchAll().then (posts) ->
    res.set 'Content-Type', 'application/rss+xml'
    res.render 'blog',
      posts: posts
  .catch next
  .done()

Promise = require 'bluebird'
Channel = require "../../models/channel"
User = require "../../models/user"
ChannelBlocks = require "../../collections/channel_blocks"
