Permalink
Browse files

Remove version from API route.

  • Loading branch information...
1 parent 51cfa8e commit 554cb1fc98f8d52cfc898398ee874e06e01f6864 @Raynes Raynes committed Jan 5, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/refheap/views/api.clj
@@ -30,8 +30,8 @@
(when-let [id (:id (session/get :user))]
(api/new-token id)))
-(defpage [:post "/api/v1/paste/create"] {:keys [private contents language username token]
- :or {private "false"}}
+(defpage [:post "/api/paste/create"] {:keys [private contents language username token]
+ :or {private "false"}}
(response/json
(let [user (api/validate-user username token)]
(if (string? user)

0 comments on commit 554cb1f

Please sign in to comment.