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
=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