Skip to content

Commit

Permalink
added css loader
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthew Torres committed Oct 1, 2014
1 parent 3062c98 commit 63b9b2a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
7 changes: 2 additions & 5 deletions src/config/routes.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,7 @@ module.exports = [
}
{
method: 'GET'
path: '/assets/{param*}'
handler:
directory:
path: './assets/'
listing: true
path: '/css/{path*}'
config: controller.assets.css
}
]
4 changes: 2 additions & 2 deletions src/controllers/assets.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ module.exports =
css:
handler:
directory:
path: "assets/style"

path: "./app/assets/styles"
listing: true
app:
name: "css"

Expand Down

0 comments on commit 63b9b2a

Please sign in to comment.