Permalink
Browse files

only the path, not the full uri

  • Loading branch information...
1 parent a7b4eaf commit fc89e3d57664b1ba569b0af5304903682d3178b4 @fcuny fcuny committed with Alexis Sukrieh Oct 13, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Dancer/Cookbook.pod
View
@@ -521,7 +521,7 @@ css, images and javascript:
before_template sub {
my $tokens = shift;
- $tokens->{uri_base} = request->base;
+ $tokens->{uri_base} = request->base->path;
};
THen in your layout, modify your css inclusion as follows:

0 comments on commit fc89e3d

Please sign in to comment.