Browse files

Use Dancer's default directory for javascript files

  • Loading branch information...
1 parent d4a6f64 commit 328d46980cb5a682053a4756c440c892bdb21d46 @perlpilot committed Dec 19, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Dancer/Plugin/TTHelpers.pm
View
2 lib/Dancer/Plugin/TTHelpers.pm
@@ -171,7 +171,7 @@ sub js {
return
($ie_cond ? "<!--[if $ie_cond]>" : '')
. qq(<script languages='javascript' src=')
- . request->uri_base . "/js/$uri"
+ . request->uri_base . "/javascripts/$uri"
. qq(' type='text/javascript' $attributes></script>)
. ($ie_cond ? "<![endif]-->" : '');
}

0 comments on commit 328d469

Please sign in to comment.