mirror of
https://github.com/wallabag/wallabag.git
synced 2025-09-15 18:57:05 +00:00
Use FQCN as service name for repositories
This commit is contained in:
parent
844e8e9d22
commit
0f9c359476
17 changed files with 68 additions and 50 deletions
|
@ -6,6 +6,7 @@ use Symfony\Bundle\FrameworkBundle\Controller\Controller;
|
|||
use Symfony\Component\HttpFoundation\Request;
|
||||
use Symfony\Component\Routing\Annotation\Route;
|
||||
use Wallabag\CoreBundle\Entity\IgnoreOriginInstanceRule;
|
||||
use Wallabag\CoreBundle\Repository\IgnoreOriginInstanceRuleRepository;
|
||||
|
||||
/**
|
||||
* IgnoreOriginInstanceRuleController controller.
|
||||
|
@ -21,7 +22,7 @@ class IgnoreOriginInstanceRuleController extends Controller
|
|||
*/
|
||||
public function indexAction()
|
||||
{
|
||||
$rules = $this->get('wallabag_core.ignore_origin_instance_rule_repository')->findAll();
|
||||
$rules = $this->get(IgnoreOriginInstanceRuleRepository::class)->findAll();
|
||||
|
||||
return $this->render('WallabagCoreBundle:IgnoreOriginInstanceRule:index.html.twig', [
|
||||
'rules' => $rules,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue