   )$ ///
 
   app.get(viewdomain, (req, res) ->
-    elements = req.params[0].split('/')
-    #pages = while ((site = elements.shift()) and (id = elements.shift()))
-    #  if site is 'view' or site is 'my'
-    #    {id}
-    #  else
-    #    {id, site}
     res.sendfile("#{argv.r}/server/sinatra/views/static.html")
   )
 

          for item, index in page.story
            if item.id is action.after
              before = action.after
          page.story.splice(index, 0, action.item)

        when 'remove'
          page.story = (item for item in page.story when item?.id isnt action.id)

    next()
  )

  app.get(///^/remote/([a-zA-Z0-9:\.-]+/favicon.png)$///, (req, res) ->
        res.redirect('remotefav')
  )

  # Put routes
