]> git.decadent.org.uk Git - maypole.git/blobdiff - lib/Maypole.pm
Config parameter handling for Maypole::Model::CDBI
[maypole.git] / lib / Maypole.pm
index e3a92524a8f4a2d52bf458b0dc3c48f183f8b2d6..e80490141760cfc16844b28e6943cc17d5d8f212 100644 (file)
@@ -67,7 +67,7 @@ sub handler_guts {
     unless ($applicable == OK) {
         # It's just a plain template
         delete $r->{model_class};
-        $r->{path} =~ s{/}{}; # De-absolutify
+        $r->{path} =~ s{/$}{}; # De-absolutify
         $r->template($r->{path});
     }
     # We authenticate every request, needed for proper session management
@@ -283,7 +283,7 @@ Simon Cozens, C<simon@cpan.org>
 
 =head1 THANK YOU
 
-Jesse Scheildlower, Jody Belka, Markus Ramberg, Mickael Joanne, Simon Flack and all the others who've helped.
+Jesse Scheidlower, Jody Belka, Markus Ramberg, Mickael Joanne, Simon Flack and all the others who've helped.
 
 =head1 LICENSE