Skip to content

Commit

Permalink
Use the new way to computes asset's url in the sample page (#13)
Browse files Browse the repository at this point in the history
Signed-off-by: Clement Escoffier <[email protected]>
  • Loading branch information
cescoffier committed Jul 1, 2014
1 parent c0701a4 commit d41e3af
Showing 1 changed file with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,12 @@
<head>
<title>Wisdom ${project.version} - Samples</title>

<link rel="stylesheet" href="/libs/css/bootstrap.min.css"/>
<link rel="stylesheet" href="/libs/css/bootstrap-theme.min.css"/>
<script src="/libs/jquery.js"></script>
<script src="/libs/js/bootstrap.min.js"></script>
<!--<link rel="stylesheet" href="/libs/css/bootstrap.min.css"/>-->
<link th:href="${#routes.asset('css/bootstrap.min.css')}" rel="stylesheet"/>
<link th:href="${#routes.asset('css/bootstrap-theme.min.css')}" rel="stylesheet"/>
<script th:src="${#routes.asset('jquery.js')}"></script>
<script th:src="${#routes.asset('js/bootstrap.min.js')}"></script>
<script th:src="${#routes.asset('test.js')}"></script>
</head>
<body>

Expand Down

0 comments on commit d41e3af

Please sign in to comment.