 
     ;; Mount the v1 app at / for backward compatibility with unversioned API
     [&]
-    {:any v1-app}))
+    {:any backward-compatible-v1-app}))
 
 (defn build-app
   "Generate a Ring application that handles PuppetDB requests

        [net.cgrand.moustache :only (app)]
        [ring.middleware.resource :only (wrap-resource)]
        [ring.middleware.params :only (wrap-params)]
        [ring.util.response :only (redirect)]))

(def routes
  (app

;; application.

(ns com.puppetlabs.puppetdb.http.server
  (:require [clojure.tools.logging :as log])
  (:use [com.puppetlabs.puppetdb.http.v1 :only (v1-app)]
        [com.puppetlabs.puppetdb.http.experimental :only (experimental-app)]
        [com.puppetlabs.middleware :only
