diff --git a/src/config/routes.coffee b/src/config/routes.coffee index b1b3365..876c2f1 100644 --- a/src/config/routes.coffee +++ b/src/config/routes.coffee @@ -8,10 +8,7 @@ module.exports = [ } { method: 'GET' - path: '/assets/{param*}' - handler: - directory: - path: './assets/' - listing: true + path: '/css/{path*}' + config: controller.assets.css } ] diff --git a/src/controllers/assets.coffee b/src/controllers/assets.coffee index 0125505..8bf5ca0 100644 --- a/src/controllers/assets.coffee +++ b/src/controllers/assets.coffee @@ -18,8 +18,8 @@ module.exports = css: handler: directory: - path: "assets/style" - + path: "./app/assets/styles" + listing: true app: name: "css"