Update links to hidden posts
This commit is contained in:
parent
acd136cfc4
commit
8c1681da0c
|
@ -6,7 +6,7 @@ sub flagged($self) {
|
||||||
my $flagged_posts = $self->moderator->flagged;
|
my $flagged_posts = $self->moderator->flagged;
|
||||||
my @post_links = map {
|
my @post_links = map {
|
||||||
$self->url_for(
|
$self->url_for(
|
||||||
'single_' . $_->{'type'}, $_->{'type'} . '_id' => $_->{'id'}
|
'hidden_' . $_->{'type'}, $_->{'type'} . '_id' => $_->{'id'}
|
||||||
)
|
)
|
||||||
} @{$flagged_posts};
|
} @{$flagged_posts};
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@ sub hidden($self) {
|
||||||
my $hidden_posts = $self->moderator->hidden;
|
my $hidden_posts = $self->moderator->hidden;
|
||||||
my @post_links = map {
|
my @post_links = map {
|
||||||
$self->url_for(
|
$self->url_for(
|
||||||
'single_' . $_->{'type'}, $_->{'type'} . '_id' => $_->{'id'}
|
'hidden_' . $_->{'type'}, $_->{'type'} . '_id' => $_->{'id'}
|
||||||
)
|
)
|
||||||
} @{$hidden_posts};
|
} @{$hidden_posts};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user