Fixed path, can now be changed properly, also updated test for this
[catagits/Catalyst-Runtime.git] / lib / Catalyst / Request.pm
index ace44c7..b38b693 100644 (file)
@@ -331,9 +331,6 @@ sub path {
     my ( $self, $params ) = @_;
 
     if ($params) {
-
-        # base must always have a trailing slash
-        $params .= '/' unless ( $params =~ /\/$/ );
         $self->uri->path($params);
     }