Skip to content

Commit

Permalink
Remove incorrect Chain from changes actions
Browse files Browse the repository at this point in the history
Overloading uris causes hash randomization failures on 5.18.
  • Loading branch information
rwstauner committed Jul 26, 2013
1 parent b60ac64 commit f7e8c90
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/MetaCPAN/Web/Controller/Changes.pm
Expand Up @@ -5,13 +5,13 @@ use namespace::autoclean;

BEGIN { extends 'MetaCPAN::Web::Controller' }

sub distribution : Chained('/') Local Args(1) {
sub distribution : Local Args(1) {
my ( $self, $c, $distribution ) = @_;

$c->forward('get', [$distribution]);
}

sub release : Chained('/') Local Args(2) {
sub release : Local Args(2) {
my ( $self, $c, $author, $release ) = @_;

# force consistent casing in URLs
Expand Down

0 comments on commit f7e8c90

Please sign in to comment.