Ignore:
Timestamp:
12/29/10 15:31:35 (14 years ago)
Author:
nanardon
Message:
  • another compatibility redirect
File:
1 edited

Legend:

Unmodified
Added
Removed
  • server/trunk/web/lib/Sophie/Controller/Distrib.pm

    r196 r226  
    233233sub list_arch :Path :Args(2) { 
    234234    my ( $self, $c, $distribution, $release ) = @_; 
     235 
     236    # Compatability with Sophie1 
     237    if ($distribution =~ /^([^,]+,)?[^,]+,[^,]+$/) { 
     238        $c->go('/compat/distrib', [ $distribution, $release ]); 
     239    } 
     240 
    235241    $c->stash->{dist}{distribution} = $distribution; 
    236242    $c->stash->{dist}{release} = $release; 
Note: See TracChangeset for help on using the changeset viewer.