Permalink
Browse files

Removed attribute from router for url validation

  • Loading branch information...
Mathachew committed Sep 24, 2016
1 parent 3f0b491 commit f2d79d1732844d8f40b6cb10099bc63e15717d87
Showing with 1 addition and 1 deletion.
  1. +1 −1 core/server/routes/api.js
@@ -97,7 +97,7 @@ apiRoutes = function apiRoutes(middleware) {
router.get('/clients/slug/:slug', api.http(api.clients.read));

// ## Slugs
router.get('/slugs/:type/:name', authenticatePrivate, api.http(api.slugs.generate));
router.get('/slugs/:type', authenticatePrivate, api.http(api.slugs.generate));

// ## Themes
router.get('/themes/:name/download',

0 comments on commit f2d79d1

Please sign in to comment.