Changeset 10526
- Timestamp:
- 04/27/08 13:23:05 (5 years ago)
- Location:
- lang/perl/HTTPx-Dispatcher/trunk
- Files:
-
- 2 modified
-
lib/HTTPx/Dispatcher/Rule.pm (modified) (1 diff)
-
t/02_uri_for.t (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
lang/perl/HTTPx-Dispatcher/trunk/lib/HTTPx/Dispatcher/Rule.pm
r10454 r10526 127 127 my %args = %$args; 128 128 while (my ($key, $val) = each %args) { 129 $uri = $self->_uri_for_match($uri, $key, $val) or return; 129 $uri = $self->_uri_for_match($uri, $key, $val); 130 return unless defined $uri; 130 131 } 131 132 return "/$uri"; -
lang/perl/HTTPx-Dispatcher/trunk/t/02_uri_for.t
r10433 r10526 60 60 --- expected: /content/3 61 61 62 === 63 --- dispatcher 64 connect '' => { controller => 'Root', action => 'index' }; 65 --- uri_for: { controller => 'Root', action => 'index' } 66 --- expected: / 67
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)