Permalink
Browse files

fixed path check with new directories

  • Loading branch information...
1 parent 4bfbbb7 commit b5f2571a4b68fd93079c55c0d168f11539ad210a @moul committed Dec 19, 2012
Showing with 5 additions and 7 deletions.
  1. +2 −4 lib/app.js
  2. +3 −3 src/app.coffee
View

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
View
@@ -248,8 +248,8 @@ class ksApp
sess.messages[type].push msg
return @
- if @config.viewOptions.pretty
- @config.locals.pretty = true
+ @config.locals.pretty = !!@config.viewOptions.pretty
+
winstonStream =
write: (message, encoding) ->
winston.info message
@@ -340,7 +340,7 @@ class ksApp
options =
src: "#{dir}/public"
helperContext: context
- if /tapas\/lib/.test dir
+ if /tapas$/.test dir
options.build = true
options.detectChanges = false
middleware = connect_assets options

0 comments on commit b5f2571

Please sign in to comment.