Update links to hidden posts

This commit is contained in:
swag 2023-06-02 14:53:33 -04:00
parent acd136cfc4
commit 8c1681da0c

View File

@ -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};