Skip to content
This repository
Browse code

only the path, not the full uri

  • Loading branch information...
commit 38cb4e121f6bce69fdfd921b4bdec49d91f7cd3b 1 parent 577667b
Franck Cuny authored October 13, 2010

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  lib/Dancer/Cookbook.pod
2  lib/Dancer/Cookbook.pod
Source Rendered
@@ -521,7 +521,7 @@ css, images and javascript:
521 521
 
522 522
     before_template sub {
523 523
         my $tokens = shift;
524  
-        $tokens->{uri_base} = request->base;
  524
+        $tokens->{uri_base} = request->base->path;
525 525
     };
526 526
 
527 527
 THen in your layout, modify your css inclusion as follows:

0 notes on commit 38cb4e1

Please sign in to comment.
Something went wrong with that request. Please try again.