From 0224cd25ebca83ad1bc2a2ff2617256c4ffaf7f2 Mon Sep 17 00:00:00 2001 From: Pablo Ferreiro Date: Sun, 27 Nov 2022 00:05:11 +0100 Subject: [PATCH] Added url_tag --- app/Helpers/Wrappers.php | 3 +++ composer.json | 2 +- composer.lock | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/app/Helpers/Wrappers.php b/app/Helpers/Wrappers.php index 9507fef..b4b4afb 100644 --- a/app/Helpers/Wrappers.php +++ b/app/Helpers/Wrappers.php @@ -76,6 +76,9 @@ class Wrappers { $latte->addFunction('url_user', function (string $username): string { 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 { return UrlBuilder::video_internal($username, $id); }); diff --git a/composer.json b/composer.json index 51e3203..a2bd450 100644 --- a/composer.json +++ b/composer.json @@ -1,7 +1,7 @@ { "name": "pablouser1/proxitok", "description": "An alternative frontend for TikTok", - "version": "2.4.3.5", + "version": "2.4.3.6", "license": "AGPL-3.0-or-later", "type": "project", "authors": [ diff --git a/composer.lock b/composer.lock index 044bc45..f896c74 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "5ed78859acc6f451f60b75dca1887104", + "content-hash": "70740f443fa52ad70a8ceb507c30e801", "packages": [ { "name": "bramus/router",