Permalink
Browse files

only the path, not the full uri

  • Loading branch information...
1 parent 577667b commit 38cb4e121f6bce69fdfd921b4bdec49d91f7cd3b @fcuny fcuny committed 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 38cb4e1

Please sign in to comment.