Added url_tag
This commit is contained in:
parent
215f984fe4
commit
0224cd25eb
|
@ -76,6 +76,9 @@ class Wrappers {
|
||||||
$latte->addFunction('url_user', function (string $username): string {
|
$latte->addFunction('url_user', function (string $username): string {
|
||||||
return UrlBuilder::user($username);
|
return UrlBuilder::user($username);
|
||||||
});
|
});
|
||||||
|
$latte->addFunction('url_tag', function (string $tag): string {
|
||||||
|
return UrlBuilder::tag($tag);
|
||||||
|
});
|
||||||
$latte->addFunction('url_video_internal', function (string $username, string $id): string {
|
$latte->addFunction('url_video_internal', function (string $username, string $id): string {
|
||||||
return UrlBuilder::video_internal($username, $id);
|
return UrlBuilder::video_internal($username, $id);
|
||||||
});
|
});
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"name": "pablouser1/proxitok",
|
"name": "pablouser1/proxitok",
|
||||||
"description": "An alternative frontend for TikTok",
|
"description": "An alternative frontend for TikTok",
|
||||||
"version": "2.4.3.5",
|
"version": "2.4.3.6",
|
||||||
"license": "AGPL-3.0-or-later",
|
"license": "AGPL-3.0-or-later",
|
||||||
"type": "project",
|
"type": "project",
|
||||||
"authors": [
|
"authors": [
|
||||||
|
|
2
composer.lock
generated
2
composer.lock
generated
|
@ -4,7 +4,7 @@
|
||||||
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
||||||
"This file is @generated automatically"
|
"This file is @generated automatically"
|
||||||
],
|
],
|
||||||
"content-hash": "5ed78859acc6f451f60b75dca1887104",
|
"content-hash": "70740f443fa52ad70a8ceb507c30e801",
|
||||||
"packages": [
|
"packages": [
|
||||||
{
|
{
|
||||||
"name": "bramus/router",
|
"name": "bramus/router",
|
||||||
|
|
Loading…
Reference in a new issue