   app.delete '/a/:controller/:id', (req, res, next) ->
     routeMVC(req.params.controller, 'delete', req, res, next)
 
-  # Remove resource instance
-  app.all '/a/:controller/:method/:id', (req, res, next) ->
-    routeMVC(req.params.controller, req.params.method, req, res, next)
-
   # If all else failed, show 404 page
   app.all '/*', (req, res) ->
     console.warn "error 404: ", req.url
     res.send 404
+    return
 
 #### Helper functions
 

    viewName = if fileName.match /\.html$/ then fileName.replace /\.html$/, ''
    try
      res.render "partials/#{viewName}"
      return
    catch e
      console.warn "partials not found: " + viewName
      next()

  # Authentication
  app.post '/user/login', isValidUser

  # Private page (return 401 not authorized)
  app.get '/a/private', isLoggedIn

  # Catch resource requests
  app.all '/a/:controller/:method/:id?', (req, res, next) ->
    routeMVC(req.params.controller, req.params.method, req, res, next)

  ## REST API interface
  # Get resource items list
