File: | lib/Railsish/Router.pm |
Coverage: | 70.8% |
line | % | coverage | branch | |
---|---|---|---|---|
31 | 50 | T | F | unless ref $self |
35 | 100 | T | F | if (defined $vars{'path_prefix'}) |
48 | 100 | T | F | $conditions ? : |
59 | 50 | T | F | unless ref $self |
64 | 100 | T | F | $conditions ? : |
65 | 100 | T | F | if (my $matched = $$routers{$_}->match($uri)) |
73 | 50 | T | F | unless ref $self |
77 | 50 | T | F | if (my $url = $$routers{$_}->uri_for(@args)) |
87 | 50 | T | F | unless ref $self |
162 | 50 | T | F | unless ref $self |
177 | 50 | T | F | unless ref $self |
179 | 100 | T | F | if (@args == 1 and ref $args[0] eq 'HASH') |