Permalink
Browse files

Fix missing old redirects

  • Loading branch information...
1 parent 004e4a7 commit 7c0b5f31dffe07f1c1255fa5a98c2f4c55fc77ac @zk committed Sep 27, 2014
Showing with 8 additions and 1 deletion.
  1. +6 −0 README.md
  2. +2 −1 src/clj/clojuredocs/entry.clj
View
@@ -13,6 +13,12 @@ http://next.clojuredocs.org
## Contributing
+The codebase needs a good scrub before groking will not be
+painful. However, feel free to jump in if you don't mind digging
+around.
+
+Here's a few ways to contribute:
+
* Find & report bugs: https://github.com/zk/clojuredocs/issues
* Suggestions on how to make development on the site more friendly
(docs, codebase organization).
@@ -87,7 +87,8 @@
(GET "/clojure_core/:ns/:name" [ns name] (redirect-to-var ns name))
(GET "/clojure_core/:version/:ns/:name" [ns name] (redirect-to-var ns name))
(GET "/quickref/*" [] {:status 301 :headers {"Location" "/quickref"}})
- (GET "/clojure_core" [] {:status 301 :headers {"Location" "/"}})
+ (GET "/clojure_core" [] {:status 301 :headers {"Location" "/core-library"}})
+ (GET "/clojure_core/:ns" [ns] {:status 301 :headers {"Location" (str "/" ns)}})
(GET "/v/:id" [id] (old-v-page-redirect id)))
(defroutes _routes

0 comments on commit 7c0b5f3

Please sign in to comment.