1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-08-26 18:21:02 +00:00

Make wallabag_url a Twig global

This commit is contained in:
Yassine Guedidi 2025-01-11 02:09:07 +01:00
parent 09dcee3fc6
commit b921abf173
4 changed files with 3 additions and 15 deletions

View file

@ -103,8 +103,6 @@ class DeveloperController extends AbstractController
*/
public function howtoFirstAppAction()
{
return $this->render('Developer/howto_app.html.twig', [
'wallabag_url' => $this->getParameter('domain_name'),
]);
return $this->render('Developer/howto_app.html.twig');
}
}

View file

@ -257,7 +257,6 @@ class ConfigController extends AbstractController
'username' => $user->getUsername(),
'token' => $config->getFeedToken(),
],
'wallabag_url' => $this->getParameter('domain_name'),
'enabled_users' => $userRepository->getSumEnabledUsers(),
]);
}