Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Removed attribute from router for url validation
- Loading branch information
Showing
with
1 addition
and
1 deletion.
-
+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', |
|
|