Fix the conditional here.
authorTomas Doran <bobtfish@bobtfish.net>
Sun, 27 Mar 2011 10:38:17 +0000 (11:38 +0100)
committerTomas Doran <bobtfish@bobtfish.net>
Sun, 27 Mar 2011 10:38:23 +0000 (11:38 +0100)
commit7e58c6275aeae6b53fb5be463fe1defbd31b7295
treeed03ebfb42ed3c29bd6a20148dbfd7c6afafe7a2
parentb376e4ecc15edbb0abeb1276710e8da7826daa82
Fix the conditional here.

We do always need a trailing slash if we have a server path and either
just a /, or no uri at all (e.g. http://localhost). This matters when
we're mounted at a non-root path, as cataltst needs to see
http://localhost/non_root_path/, rather than http://localhost/non_root_path,
otherwise we'll try to resolve /non_root path as an action.
lib/Catalyst/Test.pm