Create new Contact\Redir module class

- Move /redir route to /contact/redir
This commit is contained in:
Hypolite Petovan 2022-11-08 19:33:08 -05:00
parent 386c08aa05
commit 4a626ef101
14 changed files with 241 additions and 164 deletions

View file

@ -239,7 +239,7 @@ class Profile extends BaseModule
}
$url = Contact::magicLinkByContact($contact);
if (strpos($url, 'redir/') === 0) {
if (strpos($url, 'contact/redir/') === 0) {
$sparkle = ' class="sparkle" ';
} else {
$sparkle = '';