backend: use tag name instead of ID
This commit is contained in:
parent
cb361c21cd
commit
ff22b71fa1
@ -163,7 +163,7 @@ get "/random/tag" => sub {
|
|||||||
|
|
||||||
my $data = decode_json($res->{content});
|
my $data = decode_json($res->{content});
|
||||||
# XXX body content.
|
# XXX body content.
|
||||||
redirect "/tag/$data->{id}";
|
redirect "/tag/$data->{name}";
|
||||||
};
|
};
|
||||||
|
|
||||||
true;
|
true;
|
||||||
|
Loading…
Reference in New Issue
Block a user