Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix missing old redirects

  • Loading branch information...
commit 7c0b5f31dffe07f1c1255fa5a98c2f4c55fc77ac 1 parent 004e4a7
@zk authored
Showing with 8 additions and 1 deletion.
  1. +6 −0 README.md
  2. +2 −1  src/clj/clojuredocs/entry.clj
View
6 README.md
@@ -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).
View
3  src/clj/clojuredocs/entry.clj
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.