Changeset 43 for server/trunk/web/lib/Sophie/Controller/Explorer.pm
- Timestamp:
- 11/28/10 19:30:07 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
server/trunk/web/lib/Sophie/Controller/Explorer.pm
r40 r43 24 24 sub index :Path { 25 25 my ( $self, $c, @args ) = @_; 26 27 if (grep { exists($c->req->params->{$_}) } qw(distribution release arch)) { 28 $c->session->{explorer} = { 29 distribution => $c->req->param('distribution') || undef, 30 release => $c->req->param('release') || undef, 31 arch => $c->req->param('arch') || undef, 32 }; 33 } 34 $c->session->{__explorer} = $c->session->{explorer}; 26 35 27 36 $c->stash->{path} = join('/', grep { $_ } @args);
Note: See TracChangeset
for help on using the changeset viewer.