     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()
+  blocks.fetch(cache: true)
+    .then ->
+      res.set 'Content-Type', 'application/rss+xml'
+      res.render 'explore',
+        blocks: blocks.models
+    .catch next
 
 @blogRSS = (req, res, next) ->
-  posts.fetchAll().then (posts) ->
-    res.set 'Content-Type', 'application/rss+xml'
-    res.render 'blog',
-      posts: posts
-  .catch next
-  .done()
+  posts.fetchAll()
+    .then (posts) ->
+      res.set 'Content-Type', 'application/rss+xml'
+      res.render 'blog',
+        posts: posts
+    .catch next

      channel: channel
      blocks: blocks.models
  .catch next
  .done()

@userRSS = (req, res, next) ->
  author = new User(id: req.params.username)

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