Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Expose all the view/list/show functions in rewrite nicely

  • Loading branch information...
commit b6d1c0291fc772b585a2e68755eed5562a48b181 1 parent 042f1e2
@isaacs isaacs authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 registry/rewrites.js
View
4 registry/rewrites.js
@@ -87,4 +87,8 @@ module.exports =
, method: "PUT" }
, { from: "/:pkg/-rev/:rev", to: "../../:pkg", method: "DELETE" }
+
+ , {from:'/-/_view/*', to:'_view/*', method: 'GET'}
+ , {from:'/-/_list/*', to:'_list/*', method: 'GET'}
+ , {from:'/-/_show/*', to:'_show/*', method: 'GET'}
]
Please sign in to comment.
Something went wrong with that request. Please try again.