Permalink
Browse files

Main layout: fix javascripts URL

  • Loading branch information...
1 parent a288823 commit d473ea5adc64a23f8787023013eb21ec5da8b2a8 @agordon committed Jul 17, 2012
Showing with 3 additions and 3 deletions.
  1. +1 −1 environments/production.yml
  2. +2 −2 views/layouts/main.tt
@@ -4,7 +4,7 @@
log: "warning"
# log message to a file in logs/
-logger: "file"
+logger: "console"
# don't consider warnings critical
warnings: 0
View
@@ -19,8 +19,8 @@
[% content %]
-<script src="javascripts/jquery-1.7.2.min.js"></script>
-<script src="bootstrap/js/bootstrap.min.js"></script>
+<script src="[% request.uri_base %]/javascripts/jquery-1.7.2.min.js"></script>
+<script src="[% request.uri_base %]/bootstrap/js/bootstrap.min.js"></script>
<script>
$(document).ready(function()
{

0 comments on commit d473ea5

Please sign in to comment.