diff --git a/lib/PostText/Controller/Moderator.pm b/lib/PostText/Controller/Moderator.pm index 7db0c10..76ca4de 100644 --- a/lib/PostText/Controller/Moderator.pm +++ b/lib/PostText/Controller/Moderator.pm @@ -6,7 +6,7 @@ sub flagged($self) { my $flagged_posts = $self->moderator->flagged; my @post_links = map { $self->url_for( - 'single_' . $_->{'type'}, $_->{'type'} . '_id' => $_->{'id'} + 'hidden_' . $_->{'type'}, $_->{'type'} . '_id' => $_->{'id'} ) } @{$flagged_posts}; @@ -19,7 +19,7 @@ sub hidden($self) { my $hidden_posts = $self->moderator->hidden; my @post_links = map { $self->url_for( - 'single_' . $_->{'type'}, $_->{'type'} . '_id' => $_->{'id'} + 'hidden_' . $_->{'type'}, $_->{'type'} . '_id' => $_->{'id'} ) } @{$hidden_posts};