api: add /random/tag
This commit is contained in:
parent
7ccbc3af12
commit
6ecf98f917
2 changed files with 23 additions and 0 deletions
|
@ -24,6 +24,8 @@ sub startup ($self)
|
|||
|
||||
$r->get("/tags")->to("tags#list");
|
||||
$r->get("/tag/:tag_id_or_name")->to("tags#show");
|
||||
|
||||
$r->get("/random/tag")->to("random#tag");
|
||||
}
|
||||
|
||||
1;
|
||||
|
|
Reference in a new issue