Skip to content

Commit

Permalink
fixed share dir
Browse files Browse the repository at this point in the history
  • Loading branch information
monken committed Mar 8, 2010
1 parent baa9c90 commit ab4bbf9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Catalyst/Controller/POD.pm
Original file line number Diff line number Diff line change
Expand Up @@ -215,9 +215,9 @@ sub new {
my $self = $class->next::method(@_);
my $file = Path::Class::File->new( 'share', 'dist.js' );
eval {
$file ||= Path::Class::File->new(
$file = Path::Class::File->new(
dist_file( 'Catalyst-Controller-POD', 'docs.js' ) );
};
} unless(-e $file);
$self->_dist_dir( $file->dir );
return $self;
}
Expand Down

0 comments on commit ab4bbf9

Please sign in to comment.